Class: BlizzardApi::Starcraft::Request
- Defined in:
- lib/blizzard_api_rb/starcraft/request.rb
Overview
Starcraft requests
Constant Summary collapse
- SC_REGION =
Possible regions for the SC II API (Except China)
{ US: 1, EU: 2, KO: 3, TW: 3 }.freeze
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
-
#initialize(**options) ⇒ Request
constructor
A new instance of Request.
Constructor Details
#initialize(**options) ⇒ Request
Returns a new instance of Request.
18 19 20 21 |
# File 'lib/blizzard_api_rb/starcraft/request.rb', line 18 def initialize(**) super(**) @game = 'sc2' end |