Class: Woopy::Client
- Inherits:
-
Object
- Object
- Woopy::Client
- Defined in:
- lib/woopy/client.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
- #verify ⇒ Object
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
6 7 8 9 10 |
# File 'lib/woopy/client.rb', line 6 def initialize() @token = [:token] Resource.headers['X-WoopleToken'] = @token Resource.site = [:site] || DEFAULT_SITE_BASE end |