Module: Redd::Client::OAuth2::Identity

Included in:
Redd::Client::OAuth2
Defined in:
lib/redd/client/oauth2/identity.rb

Instance Method Summary collapse

Instance Method Details

#meObject



5
6
7
8
# File 'lib/redd/client/oauth2/identity.rb', line 5

def me
  response = get "/api/v1/me.json"
  object_from_body kind: "t2", data: response
end