Class: Battlenet::WOWClient
- Inherits:
-
Client
- Object
- Client
- Battlenet::WOWClient
show all
- Defined in:
- lib/battlenet/api/wow_client.rb
Instance Method Summary
collapse
Methods inherited from Client
#domain, #endpoint, #get, #make_request
Constructor Details
#initialize(options = {}) ⇒ WOWClient
Returns a new instance of WOWClient.
20
21
22
23
24
25
|
# File 'lib/battlenet/api/wow_client.rb', line 20
def initialize(options = {})
client_settings = { :endpoint => '/wow' }
client_settings = client_settings.merge(options)
super(client_settings)
end
|
Instance Method Details
#achievement(options = {}) ⇒ Object
43
44
45
|
# File 'lib/battlenet/api/wow_client.rb', line 43
def achievement(options = {})
merge_options_and_return_obj(options, Battlenet::WOW::Achievement)
end
|
#auction(options = {}) ⇒ Object
47
48
49
|
# File 'lib/battlenet/api/wow_client.rb', line 47
def auction(options = {})
merge_options_and_return_obj(options, Battlenet::WOW::Auction)
end
|
#character(options = {}) ⇒ Object
27
28
29
|
# File 'lib/battlenet/api/wow_client.rb', line 27
def character(options = {})
merge_options_and_return_obj(options, Battlenet::WOW::Character)
end
|
#data(options = {}) ⇒ Object
71
72
73
|
# File 'lib/battlenet/api/wow_client.rb', line 71
def data(options = {})
merge_options_and_return_obj(options, Battlenet::WOW::Data)
end
|
#guild(options = {}) ⇒ Object
31
32
33
|
# File 'lib/battlenet/api/wow_client.rb', line 31
def guild(options = {})
merge_options_and_return_obj(options, Battlenet::WOW::Guild)
end
|
#item(options = {}) ⇒ Object
35
36
37
|
# File 'lib/battlenet/api/wow_client.rb', line 35
def item(options = {})
merge_options_and_return_obj(options, Battlenet::WOW::Item)
end
|
#item_set(options = {}) ⇒ Object
39
40
41
|
# File 'lib/battlenet/api/wow_client.rb', line 39
def item_set(options = {})
merge_options_and_return_obj(options, Battlenet::WOW::ItemSet)
end
|
#pvp_leaderboard(options = {}) ⇒ Object
51
52
53
|
# File 'lib/battlenet/api/wow_client.rb', line 51
def pvp_leaderboard(options = {})
merge_options_and_return_obj(options, Battlenet::WOW::PVPLeaderboard)
end
|
#quest(options = {}) ⇒ Object
55
56
57
|
# File 'lib/battlenet/api/wow_client.rb', line 55
def quest(options = {})
merge_options_and_return_obj(options, Battlenet::WOW::Quest)
end
|
#realm(options = {}) ⇒ Object
59
60
61
|
# File 'lib/battlenet/api/wow_client.rb', line 59
def realm(options = {})
merge_options_and_return_obj(options, Battlenet::WOW::Realm)
end
|
#recipe(options = {}) ⇒ Object
63
64
65
|
# File 'lib/battlenet/api/wow_client.rb', line 63
def recipe(options = {})
merge_options_and_return_obj(options, Battlenet::WOW::Recipe)
end
|
#spell(options = {}) ⇒ Object
67
68
69
|
# File 'lib/battlenet/api/wow_client.rb', line 67
def spell(options = {})
merge_options_and_return_obj(options, Battlenet::WOW::Spell)
end
|