Sha256: 5fbd0cfcab3a6108a1e5f93fbc3a14800ab604b99e6985cd84ea5685d7f53b87

Contents?: true

Size: 445 Bytes

Versions: 1

Compression:

Stored size: 445 Bytes

Contents

module OptimizePlayer
  module Proxies
    class AccountProxy
      attr_reader :client

      def initialize(client)
        @client = client
      end

      def inspect()
        "#<#{self.class}:0x#{self.object_id.to_s(16)}"
      end

      def fetch
        response = client.send_request(entity_name, :get)
        Converter.convert_to_object(self, response)
      end

      def entity_name
        'account'
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
optimizeplayer-0.0.1 lib/optimize_player/proxies/account_proxy.rb