Class: BlizzardApi::Wow::MythicKeystone
- Inherits:
 - 
      GenericDataEndpoint
      
        
- Object
 - Request
 - Request
 - GenericDataEndpoint
 - BlizzardApi::Wow::MythicKeystone
 
 
- Defined in:
 - lib/blizzard_api/wow/game_data/mythic_keystone.rb
 
Overview
This class allows access to World of Warcraft achievements
You can get an instance of this class using the default region as follows:
api_instance = BlizzardApi::Wow.mythic_keystone
  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
- 
  
    
      #dungeon(id, **options)  ⇒ Hash 
    
    
  
  
  
  
  
  
  
  
  
    
Fetch all possible data for one of the items listed by the #dungeons using its id.
 - 
  
    
      #dungeons(**options)  ⇒ Hash 
    
    
  
  
  
  
  
  
  
  
  
    
Fetch all mythic keystone dungeons.
 - #get ⇒ Object
 - 
  
    
      #period(id, **options)  ⇒ Hash 
    
    
  
  
  
  
  
  
  
  
  
    
Fetch all possible data for one of the items listed by the #periods using its id.
 - 
  
    
      #periods(**options)  ⇒ Hash 
    
    
  
  
  
  
  
  
  
  
  
    
Fetch all mythic keystone periods.
 - 
  
    
      #season(id, **options)  ⇒ Hash 
    
    
  
  
  
  
  
  
  
  
  
    
Fetch all possible data for one of the items listed by the #seasons using its id.
 - 
  
    
      #seasons(**options)  ⇒ Hash 
    
    
  
  
  
  
  
  
  
  
  
    
Fetch all mythic keystone seasons.
 
Methods inherited from GenericDataEndpoint
Methods inherited from Request
Methods inherited from Request
Constructor Details
This class inherits a constructor from BlizzardApi::Wow::Request
Instance Method Details
#dungeon(id, **options) ⇒ Hash
Fetch all possible data for one of the items listed by the #dungeons using its id
in the configuration module
      37 38 39  | 
    
      # File 'lib/blizzard_api/wow/game_data/mythic_keystone.rb', line 37 def dungeon(id, **) api_request "#{endpoint_uri}/dungeon/#{id}", **.merge() end  | 
  
#dungeons(**options) ⇒ Hash
Fetch all mythic keystone dungeons
in the configuration module
      25 26 27  | 
    
      # File 'lib/blizzard_api/wow/game_data/mythic_keystone.rb', line 25 def dungeons(**) api_request "#{endpoint_uri}/dungeon/index", **.merge() end  | 
  
#get ⇒ Object
      15 16 17  | 
    
      # File 'lib/blizzard_api/wow/game_data/mythic_keystone.rb', line 15 def get raise BlizzardApi::ApiException, 'Mythic keystone endpoint does not have a get method' end  | 
  
#period(id, **options) ⇒ Hash
Fetch all possible data for one of the items listed by the #periods using its id
in the configuration module
      59 60 61  | 
    
      # File 'lib/blizzard_api/wow/game_data/mythic_keystone.rb', line 59 def period(id, **) api_request "#{endpoint_uri}/period/#{id}", **.merge() end  | 
  
#periods(**options) ⇒ Hash
Fetch all mythic keystone periods
in the configuration module
      47 48 49  | 
    
      # File 'lib/blizzard_api/wow/game_data/mythic_keystone.rb', line 47 def periods(**) api_request "#{endpoint_uri}/period/index", **.merge() end  | 
  
#season(id, **options) ⇒ Hash
Fetch all possible data for one of the items listed by the #seasons using its id
in the configuration module
      81 82 83  | 
    
      # File 'lib/blizzard_api/wow/game_data/mythic_keystone.rb', line 81 def season(id, **) api_request "#{endpoint_uri}/season/#{id}", **.merge() end  | 
  
#seasons(**options) ⇒ Hash
Fetch all mythic keystone seasons
in the configuration module
      69 70 71  | 
    
      # File 'lib/blizzard_api/wow/game_data/mythic_keystone.rb', line 69 def seasons(**) api_request "#{endpoint_uri}/season/index", **.merge() end  |