Class: PicomoneyToken
Class Method Summary
collapse
Instance Method Summary
collapse
#client
find_or_create_from_access_token
included
Class Method Details
.credentials ⇒ Object
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_user ⇒ Object
13
14
15
|
# File 'lib/oauth/models/consumers/services/picomoney_token.rb', line 13
def about_user
client.get("/about_user")
end
|