Class: Flickr::Tokens
- Inherits:
-
Object
- Object
- Flickr::Tokens
- Defined in:
- lib/flickr.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
readonly
Returns the value of attribute api_key.
-
#auth_token ⇒ Object
Returns the value of attribute auth_token.
-
#shared_secret ⇒ Object
readonly
Returns the value of attribute shared_secret.
Instance Method Summary collapse
-
#initialize(api_key, shared_secret, auth_token) ⇒ Tokens
constructor
A new instance of Tokens.
Constructor Details
#initialize(api_key, shared_secret, auth_token) ⇒ Tokens
Returns a new instance of Tokens.
18 19 20 21 22 |
# File 'lib/flickr.rb', line 18 def initialize(api_key, shared_secret, auth_token) @api_key = api_key @shared_secret = shared_secret @auth_token = auth_token end |
Instance Attribute Details
#api_key ⇒ Object (readonly)
Returns the value of attribute api_key.
15 16 17 |
# File 'lib/flickr.rb', line 15 def api_key @api_key end |
#auth_token ⇒ Object
Returns the value of attribute auth_token.
16 17 18 |
# File 'lib/flickr.rb', line 16 def auth_token @auth_token end |
#shared_secret ⇒ Object (readonly)
Returns the value of attribute shared_secret.
15 16 17 |
# File 'lib/flickr.rb', line 15 def shared_secret @shared_secret end |