Method: Yhd::Client#initialize
- Defined in:
- lib/yhd/client.rb
#initialize(options) ⇒ Client
Initializes a new Client object
22 23 24 25 26 27 |
# File 'lib/yhd/client.rb', line 22 def initialize() @app_key = .fetch(:app_key) @app_secret = .fetch(:app_secret) @session_key = .fetch(:session_key) @endpoint = [:endpoint] end |