Module: Parse::Client::Connectable

Included in:
Model, Push, Query, Webhooks
Defined in:
lib/parse/client.rb

Overview

The connectable module adds methods to objects so that they can get a default Parse::Client object if needed. This is mainly used for Parse::Query and Parse::Object classes. This is included in the Parse::Model class. Any subclass can override their `client` methods to provide a different session to use

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#clientParse::Client

Returns the current client defined for the class.

Returns:


558
559
560
# File 'lib/parse/client.rb', line 558

def client
  self.class.client
end