Class: WowCommunityApi::Guild
- Defined in:
- lib/wow_community_api/guild.rb
Constant Summary
Constants inherited from BattleNet
BattleNet::DEFAULT_LOCALE, BattleNet::DEFAULT_REGION
Class Method Summary collapse
Methods inherited from BattleNet
Class Method Details
.find_by_realm_and_name(realm, name, *field) ⇒ Object
3 4 5 6 |
# File 'lib/wow_community_api/guild.rb', line 3 def self.find_by_realm_and_name(realm, name, *field) fields = { :fields => field.join(",") } unless field.empty? get("/guild/#{realm}/#{name}", fields).to_ostruct end |