class BlizzardApi::Diablo::Follower
This class allows access to Diablo
III follower data
@see develop.battle.net/documentation/api-reference/diablo-3-community-api
You can get an instance of this class using the default region as follows:
api_instance = BlizzardApi::Diablo.follower
Public Instance Methods
get(follower_slug, **options)
click to toggle source
Return information about a follower
@param follower_slug [String] Follower
slug @!macro request_options
@!macro response
# File lib/blizzard_api/diablo/community/follower.rb, line 20 def get(follower_slug, **options) api_request "#{base_url(:community)}/data/follower/#{follower_slug}", **{ ttl: CACHE_TRIMESTER }.merge(options) end