Sha256: 83c6f87a8b5faeaa48a9acd9617b31ee84468c4e862d63c200b11c3b4227ec78

Contents?: true

Size: 283 Bytes

Versions: 4

Compression:

Stored size: 283 Bytes

Contents

module Ruby
  module Identitas
    module Endpoints
      module Me
        def me(options = {})
          options.merge!({access_token: @token})
          endpoint = build_endpoint("/v1/me")
          self.class.get(endpoint, query: options)
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby-identitas-api-0.4.0 lib/ruby/identitas/endpoints/me.rb
ruby-identitas-api-0.3.0 lib/ruby/identitas/endpoints/me.rb
ruby-identitas-api-0.2.0 lib/ruby/identitas/endpoints/me.rb
ruby-identitas-api-0.1.0 lib/ruby/identitas/endpoints/me.rb