Class: Battlenet::SC2Client

Inherits:
Client
  • Object
show all
Includes:
SC2
Defined in:
lib/battlenet/api/sc2_client.rb

Instance Method Summary collapse

Methods included from SC2

#achievements, #ladder, #profile, #profile_ladders, #profile_match_history, #rewards

Methods inherited from Client

#domain, #endpoint, #get, #make_request

Constructor Details

#initialize(options = {}) ⇒ SC2Client

Returns a new instance of SC2Client.



13
14
15
16
17
18
# File 'lib/battlenet/api/sc2_client.rb', line 13

def initialize(options = {})
  client_settings = { :endpoint => '/sc2' }
  client_settings = client_settings.merge(options)

  super(client_settings)
end