Class: Credova::Client
Constant Summary
Constants included from API
API::API_VERSION, API::DEVELOPMENT_URL, API::PRODUCTION_URL, API::USER_AGENT
Instance Attribute Summary collapse
-
#access_token ⇒ Object
Returns the value of attribute access_token.
Instance Method Summary collapse
- #application ⇒ Object
- #ffl ⇒ Object
-
#initialize(options = {}) ⇒ Client
constructor
A new instance of Client.
- #retailer ⇒ Object
Methods included from API
Constructor Details
#initialize(options = {}) ⇒ Client
Returns a new instance of Client.
13 14 15 16 17 18 |
# File 'lib/credova/client.rb', line 13 def initialize( = {}) requires!(, :username, :password) @options = authenticate! end |
Instance Attribute Details
#access_token ⇒ Object
Returns the value of attribute access_token.
11 12 13 |
# File 'lib/credova/client.rb', line 11 def access_token @access_token end |