Class: BlizzardApi::Wow::Guild
- Includes:
- Slug
- Defined in:
- lib/blizzard_api_rb/wow/profile/guild.rb
Overview
This class allows access to World of Warcraft guild data
You can get an instance of this class using the default region as follows:
api_instance = BlizzardApi::Wow.guild
Constant Summary
Constants inherited from Request
Request::CACHE_DAY, Request::CACHE_HOUR, Request::CACHE_TRIMESTER
Constants included from ApiStandards
Instance Attribute Summary
Attributes inherited from Request
Instance Method Summary collapse
-
#achievements(realm, guild, **options) ⇒ Hash
Return all guild achievements for a specified guild.
-
#activity(realm, guild, **options) ⇒ Hash
Return guild activity.
-
#get(realm, guild, **options) ⇒ Hash
Return data about the specified guild.
-
#roster(realm, guild, **options) ⇒ Hash
Return all guild members for a specified guild.
Methods included from Slug
Methods inherited from Request
Methods inherited from Request
Constructor Details
This class inherits a constructor from BlizzardApi::Wow::Request
Instance Method Details
#achievements(realm, guild, **options) ⇒ Hash
Return all guild achievements for a specified guild
in the configuration module
48 49 50 |
# File 'lib/blizzard_api_rb/wow/profile/guild.rb', line 48 def achievements(realm, guild, **) guild_request realm, guild, 'achievements', ** end |
#activity(realm, guild, **options) ⇒ Hash
Return guild activity
in the configuration module
60 61 62 |
# File 'lib/blizzard_api_rb/wow/profile/guild.rb', line 60 def activity(realm, guild, **) guild_request realm, guild, 'activity', ** end |
#get(realm, guild, **options) ⇒ Hash
Return data about the specified guild
in the configuration module
23 24 25 |
# File 'lib/blizzard_api_rb/wow/profile/guild.rb', line 23 def get(realm, guild, **) guild_request(realm, guild, **) end |
#roster(realm, guild, **options) ⇒ Hash
Return all guild members for a specified guild
in the configuration module
36 37 38 |
# File 'lib/blizzard_api_rb/wow/profile/guild.rb', line 36 def roster(realm, guild, **) guild_request realm, guild, 'roster', ** end |