Class: PicomoneyToken

Inherits:
OpenTransactToken show all
Defined in:
lib/oauth/models/consumers/services/picomoney_token.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from OpenTransactToken

#client

Methods inherited from ConsumerToken

find_or_create_from_access_token

Methods included from Oauth::Models::Consumers::Token

included

Class Method Details

.credentialsObject



5
6
7
8
9
10
11
# File 'lib/oauth/models/consumers/services/picomoney_token.rb', line 5

def self.credentials
  @credentials||={
      :site=>"https://picomoney.com",
      :consumer_key => super[:key],
      :consumer_secret => super[:secret]
    }.merge(super)
end

Instance Method Details

#about_userObject



13
14
15
# File 'lib/oauth/models/consumers/services/picomoney_token.rb', line 13

def about_user
  client.get("/about_user")
end