Class: OpenMarket::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/open_market/client.rb

Direct Known Subclasses

SMS::Client

Constant Summary collapse

HEADERS =
{
  'Content-Type' => 'application/json',
  'Accept' => 'application/json'
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(account_id:, account_password:) ⇒ Client

For now these ones



13
14
15
16
17
18
# File 'lib/open_market/client.rb', line 13

def initialize(account_id:, account_password:) # For now these ones
  @account_id = 
  @account_password = 

  @client = init_client
end

Instance Attribute Details

#clientObject (readonly)

Returns the value of attribute client.



6
7
8
# File 'lib/open_market/client.rb', line 6

def client
  @client
end