Class: ExportoAPI::Resource

Inherits:
Object
  • Object
show all
Defined in:
lib/exporto_api/resource.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ Resource

Returns a new instance of Resource.



9
10
11
# File 'lib/exporto_api/resource.rb', line 9

def initialize(client)
  @client = client
end

Instance Attribute Details

#client ⇒ Object (readonly)

Returns the value of attribute client.



7
8
9
# File 'lib/exporto_api/resource.rb', line 7

def client
  @client
end