Class: BlizzardApi::Diablo::Follower
- Defined in:
 - lib/blizzard_api/diablo/community/follower.rb
 
Overview
This class allows access to Diablo III follower data
You can get an instance of this class using the default region as follows:
api_instance = BlizzardApi::Diablo.follower
  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
- 
  
    
      #get(follower_slug, **options)  ⇒ Hash 
    
    
  
  
  
  
  
  
  
  
  
    
Return information about a follower.
 
Methods inherited from Request
Methods inherited from Request
Constructor Details
This class inherits a constructor from BlizzardApi::Diablo::Request
Instance Method Details
#get(follower_slug, **options) ⇒ Hash
Return information about a follower
in the configuration module
      20 21 22  | 
    
      # File 'lib/blizzard_api/diablo/community/follower.rb', line 20 def get(follower_slug, **) api_request "#{base_url(:community)}/data/follower/#{follower_slug}", **{ ttl: CACHE_TRIMESTER }.merge() end  |