Method: OAuth::ConsumerToken#initialize

Defined in:
lib/oauth/tokens/consumer_token.rb

#initialize(consumer, token = "", secret = "") ⇒ ConsumerToken

Returns a new instance of ConsumerToken.



15
16
17
18
19
# File 'lib/oauth/tokens/consumer_token.rb', line 15

def initialize(consumer, token = "", secret = "")
  super(token, secret)
  @consumer = consumer
  @params   = {}
end