Class: BlizzardApi::OverwatchLeague::Request

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

Overview

Overwatch League requests

Direct Known Subclasses

Matches, Players, Segments, Summary, Teams

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/overwatch_league/request.rb', line 9

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