- Included in:
- , , ,
- Defined in:
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
Instance Method Summary collapse
- #client ⇒ Parse::Client
The current client defined for the class.
Instance Method Details
Returns the current client defined for the class.
557 558 559
# File 'lib/parse/client.rb', line 557 def client self.class.client end