Sha256: a49cc3c91a3ad6cac9dda62b504ee0032492456e062624e3a81cf25295ff0280

Contents?: true

Size: 219 Bytes

Versions: 6

Compression:

Stored size: 219 Bytes

Contents

module Redd
  module Client
    class OAuth2
      module Identity
        def me
          response = get "/api/v1/me.json"
          object_from_body kind: "t2", data: response
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
redd-0.4.3 lib/redd/client/oauth2/identity.rb
redd-0.4.2 lib/redd/client/oauth2/identity.rb
redd-0.4.1 lib/redd/client/oauth2/identity.rb
redd-0.4.0 lib/redd/client/oauth2/identity.rb
redd-0.3.0 lib/redd/client/oauth2/identity.rb
redd-0.2.0 lib/redd/client/oauth2/identity.rb