Class: Flickr::OAuth::AccessToken

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

Instance Attribute Summary collapse

Attributes inherited from Token

#key, #secret

Instance Method Summary collapse

Methods inherited from Token

#to_a

Constructor Details

#initialize(key, secret, user_info) ⇒ AccessToken

Returns a new instance of AccessToken.



110
111
112
113
# File 'lib/flickr/oauth.rb', line 110

def initialize(key, secret, )
  super(key, secret)
  @user_info = 
end

Instance Attribute Details

#user_infoObject (readonly)

Holds user’s information after authentication.

Examples:

{
  fullname:  "Janko Marohnić",
  user_nsid: "78733179@N04",
  username:  "@janko-m"
}


105
106
107
# File 'lib/flickr/oauth.rb', line 105

def 
  @user_info
end