Class: RBattlenet::Wow::Guild

Inherits:
Endpoints::Base show all
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

all, find

Class Method Details

.achievementsObject



14
15
16
# File 'lib/rbattlenet/endpoints/wow/guild.rb', line 14

def self.achievements
  RBattlenet::Wow::Guild::Achievements
end

.membersObject



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