Method: RunSignupApi::Client#initialize

Defined in:
lib/run_signup_api/client.rb

#initialize(api_key: ENV['RUN_SIGNUP_API_KEY'], api_secret: ENV['RUN_SIGNUP_API_SECRET'], response_format: :json) ⇒ Client

Returns a new instance of Client.



10
11
12
# File 'lib/run_signup_api/client.rb', line 10

def initialize api_key: ENV['RUN_SIGNUP_API_KEY'], api_secret: ENV['RUN_SIGNUP_API_SECRET'], response_format: :json
  @api_key, @api_secret, @response_format = api_key, api_secret, response_format
end