Class: BlizzardApi::Diablo::Request

Inherits:
Request
  • Object
show all
Defined in:
lib/blizzard_api_rb/diablo/request.rb

Overview

Diablo III 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)



9
10
11
12
# File 'lib/blizzard_api_rb/diablo/request.rb', line 9

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