Class: BlizzardApi::Wow::Reputation
- Inherits:
 - 
      GenericDataEndpoint
      
        
- Object
 - Request
 - Request
 - GenericDataEndpoint
 - BlizzardApi::Wow::Reputation
 
 
- Defined in:
 - lib/blizzard_api/wow/game_data/reputation.rb
 
Overview
This class allows access to World of Warcraft reputation
You can get an instance of this class using the default region as follows:
api_instance = BlizzardApi::Wow.reputation
  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
- 
  
    
      #faction(id, **options)  ⇒ Hash 
    
    
  
  
  
  
  
  
  
  
  
    
Return data about a reputation faction.
 - 
  
    
      #factions(**options)  ⇒ Hash 
    
    
  
  
  
  
  
  
  
  
  
    
Return a list of reputation factions.
 - 
  
    
      #get  ⇒ Hash 
    
    
  
  
  
  
  
  
  
  
  
    
This method overrides the inherited default behavior to prevent high server load and fetch time.
 - 
  
    
      #index  ⇒ Hash 
    
    
  
  
  
  
  
  
  
  
  
    
This method overrides the inherited default behavior to prevent high server load and fetch time.
 - 
  
    
      #tier(id, **options)  ⇒ Hash 
    
    
  
  
  
  
  
  
  
  
  
    
Return data about a reputation tier.
 - 
  
    
      #tiers(**options)  ⇒ Hash 
    
    
  
  
  
  
  
  
  
  
  
    
Return a list of reputation tiers.
 
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
#faction(id, **options) ⇒ Hash
Return data about a reputation faction
in the configuration module
      48 49 50  | 
    
      # File 'lib/blizzard_api/wow/game_data/reputation.rb', line 48 def faction(id, **) api_request "#{endpoint_uri('faction')}/#{id}", **.merge() end  | 
  
#factions(**options) ⇒ Hash
Return a list of reputation factions
in the configuration module
      37 38 39  | 
    
      # File 'lib/blizzard_api/wow/game_data/reputation.rb', line 37 def factions(**) api_request "#{endpoint_uri('faction')}/index", **.merge() end  | 
  
#get ⇒ Hash
This method overrides the inherited default behavior to prevent high server load and fetch time
in the configuration module
      27 28 29  | 
    
      # File 'lib/blizzard_api/wow/game_data/reputation.rb', line 27 def get raise BlizzardApi::ApiException, 'This endpoint does not have a get method' end  | 
  
#index ⇒ Hash
This method overrides the inherited default behavior to prevent high server load and fetch time
in the configuration module
      19 20 21  | 
    
      # File 'lib/blizzard_api/wow/game_data/reputation.rb', line 19 def index raise BlizzardApi::ApiException, 'This endpoint does not have an index method' end  | 
  
#tier(id, **options) ⇒ Hash
Return data about a reputation tier
in the configuration module
      69 70 71  | 
    
      # File 'lib/blizzard_api/wow/game_data/reputation.rb', line 69 def tier(id, **) api_request "#{endpoint_uri('tiers')}/#{id}", **.merge() end  | 
  
#tiers(**options) ⇒ Hash
Return a list of reputation tiers
in the configuration module
      58 59 60  | 
    
      # File 'lib/blizzard_api/wow/game_data/reputation.rb', line 58 def tiers(**) api_request "#{endpoint_uri('tiers')}/index", **.merge() end  |