class Battlenet::D3Client

Public Class Methods

new(options = {}) click to toggle source
Calls superclass method Battlenet::Client::new
# File lib/battlenet/api/d3_client.rb, line 12
def initialize(options = {})
  client_settings = { :endpoint => '/d3' }
  client_settings = client_settings.merge(options)

  super(client_settings)
end

Public Instance Methods

data(options = {}) click to toggle source
# File lib/battlenet/api/d3_client.rb, line 23
def data(options = {})
  merge_options_and_return_obj(options, Battlenet::D3::Data)
end
profile(options = {}) click to toggle source
# File lib/battlenet/api/d3_client.rb, line 19
def profile(options = {})
  merge_options_and_return_obj(options, Battlenet::D3::Profile)
end