Class: BlizzardApi::Wow::Request

Inherits:
Request
  • Object
show all
Defined in:
lib/blizzard_api/wow/request.rb

Overview

World of Warcraft requests

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

Constructor Details

#initialize(**options) ⇒ Request

Returns a new instance of Request.

Parameters:

  • options (Hash)

    Initialization options @option options [String] :region API region @option options [Symbol] :model API mode (:regular, :extended)



10
11
12
13
# File 'lib/blizzard_api/wow/request.rb', line 10

def initialize(**options)
  super(**options)
  @game = 'wow'
end