Class: Commercelayer::Client
- Inherits:
-
Object
- Object
- Commercelayer::Client
- Defined in:
- lib/commercelayer/client.rb
Instance Method Summary collapse
- #authorize! ⇒ Object
-
#initialize(options = {}) ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize(options = {}) ⇒ Client
Returns a new instance of Client.
6 7 8 9 10 11 |
# File 'lib/commercelayer/client.rb', line 6 def initialize(={}) @client_id = [:client_id] @client_secret = [:client_secret] @scope = [:scope] @site = [:site] end |