Class: Gpdb::REST::BaseResource

Inherits:
Object
  • Object
show all
Defined in:
lib/gpdb/rest/base_resource.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#clientObject

Returns the value of attribute client.



6
7
8
# File 'lib/gpdb/rest/base_resource.rb', line 6

def client
  @client
end