Class: Flickr::Tokens

Inherits:
Object
  • Object
show all
Defined in:
lib/flickr.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_keyObject (readonly)

Returns the value of attribute api_key.



15
16
17
# File 'lib/flickr.rb', line 15

def api_key
  @api_key
end

#auth_tokenObject

Returns the value of attribute auth_token.



16
17
18
# File 'lib/flickr.rb', line 16

def auth_token
  @auth_token
end

#shared_secretObject (readonly)

Returns the value of attribute shared_secret.



15
16
17
# File 'lib/flickr.rb', line 15

def shared_secret
  @shared_secret
end