Method: AruxApp::API::Auth::AccessToken#user_data
- Defined in:
- lib/arux_app/api/auth.rb
#user_data(params = {}) ⇒ Object
20 21 22 23 24 25 26 |
# File 'lib/arux_app/api/auth.rb', line 20 def user_data(params = {}) if @user_data.nil? and !@token.nil? acc = AruxApp::API::Account.new(:access_token => self) @user_data = acc.owner(params)["user"] end @user_data end |