Class: BlizzardApi::Hearthstone::Deck

Inherits:
GenericDataEndpoint show all
Defined in:
lib/blizzard_api/hearthstone/game_data/deck.rb

Overview

This class allows access to Hearthstone deck data

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

api_instance = BlizzardApi::Hearthstone.deck

Constant Summary

Constants inherited from Request

Request::CACHE_DAY, Request::CACHE_HOUR, Request::CACHE_TRIMESTER

Constants included from ApiStandards

ApiStandards::BASE_URLS

Instance Attribute Summary

Attributes inherited from Request

#mode, #region

Instance Method Summary collapse

Methods inherited from GenericDataEndpoint

#get, #initialize, #search

Methods inherited from Request

#initialize

Methods inherited from Request

#initialize

Constructor Details

This class inherits a constructor from BlizzardApi::Hearthstone::GenericDataEndpoint

Instance Method Details

#indexObject

Raises:



14
15
16
# File 'lib/blizzard_api/hearthstone/game_data/deck.rb', line 14

def index
  raise ApiException, 'This endpoint does not have a index method'
end