Class: Gpdb::REST::BaseResource
- Inherits:
-
Object
- Object
- Gpdb::REST::BaseResource
- Defined in:
- lib/gpdb/rest/base_resource.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#client ⇒ Object
Returns the value of attribute client.
Instance Method Summary collapse
-
#initialize(api_client) ⇒ BaseResource
constructor
A new instance of BaseResource.
Constructor Details
#initialize(api_client) ⇒ BaseResource
Returns a new instance of BaseResource.
8 9 10 |
# File 'lib/gpdb/rest/base_resource.rb', line 8 def initialize(api_client) self.client = api_client end |
Instance Attribute Details
#client ⇒ Object
Returns the value of attribute client.
6 7 8 |
# File 'lib/gpdb/rest/base_resource.rb', line 6 def client @client end |