Class: Bcx::Launchpad::OAuth

Inherits:
Rapidash::Client
  • Object
show all
Defined in:
lib/bcx/launchpad/oauth.rb

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ OAuth

Returns a new instance of OAuth.



13
14
15
16
17
18
19
# File 'lib/bcx/launchpad/oauth.rb', line 13

def initialize(options = {})
  options[:site]   ||= "https://launchpad.37signals.com"
  options[:uid]    ||= options[:client_id]
  options[:secret] ||= options[:client_secret]

  super(options)
end