Class: Mobius
- Inherits:
-
Object
- Object
- Mobius
- Defined in:
- lib/mobius.rb
Instance Attribute Summary collapse
-
#app_store ⇒ Object
readonly
Returns the value of attribute app_store.
-
#data_marketplace ⇒ Object
readonly
Returns the value of attribute data_marketplace.
-
#tokens ⇒ Object
readonly
Returns the value of attribute tokens.
Instance Method Summary collapse
-
#initialize(api_key:, host: nil, version: nil, auth: nil) ⇒ Mobius
constructor
A new instance of Mobius.
Constructor Details
#initialize(api_key:, host: nil, version: nil, auth: nil) ⇒ Mobius
Returns a new instance of Mobius.
9 10 11 12 13 14 15 16 17 |
# File 'lib/mobius.rb', line 9 def initialize(api_key:, host: nil, version: nil, auth: nil) requestor = Requestor.new( api_key: api_key, host: host, version: version, auth: auth ) @app_store = AppStore.new(requestor) @tokens = Tokens.new(requestor) @data_marketplace = DataMarketplace.new(requestor) end |
Instance Attribute Details
#app_store ⇒ Object (readonly)
Returns the value of attribute app_store.
7 8 9 |
# File 'lib/mobius.rb', line 7 def app_store @app_store end |
#data_marketplace ⇒ Object (readonly)
Returns the value of attribute data_marketplace.
7 8 9 |
# File 'lib/mobius.rb', line 7 def data_marketplace @data_marketplace end |
#tokens ⇒ Object (readonly)
Returns the value of attribute tokens.
7 8 9 |
# File 'lib/mobius.rb', line 7 def tokens @tokens end |