Sha256: 4457a78c4ca1c6d358932e4049e626f5145d9fa78237b7bd5a81ff6da3ae690b

Contents?: true

Size: 284 Bytes

Versions: 7

Compression:

Stored size: 284 Bytes

Contents

module Redd
  module Client
    class Authenticated
      # Methods to manage the logged-in user
      module Account
        # @return [Redd::Object::User] The logged-in user.
        def me
          object_from_response :get, "/api/me.json"
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
redd-0.6.5 lib/redd/client/authenticated/account.rb
redd-0.6.4 lib/redd/client/authenticated/account.rb
redd-0.6.3 lib/redd/client/authenticated/account.rb
redd-0.6.2 lib/redd/client/authenticated/account.rb
redd-0.6.1 lib/redd/client/authenticated/account.rb
redd-0.6.0 lib/redd/client/authenticated/account.rb
redd-0.5.0 lib/redd/client/authenticated/account.rb