Class: RBattlenet::Wow::Guild
- Inherits:
-
Endpoints::Base
- Object
- Endpoints::Base
- RBattlenet::Wow::Guild
- Defined in:
- lib/rbattlenet/endpoints/wow/guild.rb
Defined Under Namespace
Classes: Achievements, Roster
Constant Summary collapse
- SUPPORTED_FIELDS =
[:itself, :members, :achievements]
Class Method Summary collapse
Methods inherited from Endpoints::Base
Class Method Details
.achievements ⇒ Object
14 15 16 |
# File 'lib/rbattlenet/endpoints/wow/guild.rb', line 14 def self.achievements RBattlenet::Wow::Guild::Achievements end |
.members ⇒ Object
10 11 12 |
# File 'lib/rbattlenet/endpoints/wow/guild.rb', line 10 def self.members RBattlenet::Wow::Guild::Roster end |
.path(guild) ⇒ Object
6 7 8 |
# File 'lib/rbattlenet/endpoints/wow/guild.rb', line 6 def self.path(guild) RBattlenet.uri("data/wow/guild/#{guild[:realm]}/#{guild[:name]}?namespace=profile-") end |