class OptimizePlayer::Proxies::AccountProxy

Attributes

client[R]

Public Class Methods

new(client) click to toggle source
# File lib/optimize_player/proxies/account_proxy.rb, line 6
def initialize(client)
  @client = client
end

Public Instance Methods

entity_name() click to toggle source
# File lib/optimize_player/proxies/account_proxy.rb, line 19
def entity_name
  'account'
end
fetch() click to toggle source
# File lib/optimize_player/proxies/account_proxy.rb, line 14
def fetch
  response = client.send_request(entity_name, :get)
  Converter.convert_to_object(self, response)
end
inspect() click to toggle source
# File lib/optimize_player/proxies/account_proxy.rb, line 10
def inspect()
  "#<#{self.class}:0x#{self.object_id.to_s(16)}"
end