Class: OpenMarket::Client
- Inherits:
-
Object
- Object
- OpenMarket::Client
- Defined in:
- lib/open_market/client.rb
Direct Known Subclasses
Constant Summary collapse
- HEADERS =
{ 'Content-Type' => 'application/json', 'Accept' => 'application/json' }.freeze
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
Instance Method Summary collapse
-
#initialize(account_id:, account_password:) ⇒ Client
constructor
For now these ones.
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_id @account_password = account_password @client = init_client end |
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
6 7 8 |
# File 'lib/open_market/client.rb', line 6 def client @client end |