class BlizzardApi::Hearthstone::Deck

This class allows access to Hearthstone deck data

@see develop.battle.net/documentation/api-reference/hearthstone-game-data-api @see develop.battle.net/documentation/hearthstone/guides/decks

You can get an instance of this class using the default region as follows:

api_instance = BlizzardApi::Hearthstone.deck

Public Instance Methods

index() click to toggle source
# File lib/blizzard_api/hearthstone/game_data/deck.rb, line 14
def index
  raise ApiException, 'This endpoint does not have a index method'
end

Protected Instance Methods

default_options() click to toggle source
# File lib/blizzard_api/hearthstone/game_data/deck.rb, line 25
def default_options
  { ttl: @ttl }
end
endpoint_setup() click to toggle source
# File lib/blizzard_api/hearthstone/game_data/deck.rb, line 20
def endpoint_setup
  @endpoint = 'deck'
  @ttl = CACHE_TRIMESTER
end