class Battlenet::SC2Client
Public Class Methods
new(options = {})
click to toggle source
Calls superclass method
Battlenet::Client::new
# 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
Public Instance Methods
data(options = {})
click to toggle source
# File lib/battlenet/api/sc2_client.rb, line 20 def data(options = {}) merge_options_and_return_obj(options, Battlenet::SC2::Data) end
ladder(options = {})
click to toggle source
# File lib/battlenet/api/sc2_client.rb, line 24 def ladder(options = {}) merge_options_and_return_obj(options, Battlenet::SC2::Ladder) end
profile(options = {})
click to toggle source
# File lib/battlenet/api/sc2_client.rb, line 28 def profile(options = {}) merge_options_and_return_obj(options, Battlenet::SC2::Profile) end