Class: OAuth::ConsumerToken
Overview
Superclass for tokens used by OAuth Clients
Direct Known Subclasses
Instance Attribute Summary collapse
-
#consumer ⇒ Object
Returns the value of attribute consumer.
Attributes inherited from Token
Instance Method Summary collapse
-
#initialize(consumer, token, secret) ⇒ ConsumerToken
constructor
A new instance of ConsumerToken.
Methods inherited from Token
Methods included from Key
Constructor Details
#initialize(consumer, token, secret) ⇒ ConsumerToken
Returns a new instance of ConsumerToken.
32 33 34 35 |
# File 'lib/oauth/token.rb', line 32 def initialize(consumer,token,secret) super token,secret @consumer=consumer end |
Instance Attribute Details
#consumer ⇒ Object
Returns the value of attribute consumer.
30 31 32 |
# File 'lib/oauth/token.rb', line 30 def consumer @consumer end |