Module: BlizzardApi::OverwatchLeague

Defined in:
lib/blizzard_api_rb/overwatch_league.rb,
lib/blizzard_api_rb/overwatch_league/request.rb,
lib/blizzard_api_rb/overwatch_league/community/teams.rb,
lib/blizzard_api_rb/overwatch_league/community/matches.rb,
lib/blizzard_api_rb/overwatch_league/community/players.rb,
lib/blizzard_api_rb/overwatch_league/community/summary.rb,
lib/blizzard_api_rb/overwatch_league/community/segments.rb

Overview

Overwatch League related classes

Defined Under Namespace

Classes: Matches, Players, Request, Segments, Summary, Teams

Class Method Summary collapse

Class Method Details

.matches(**options) ⇒ Matches

Parameters:

  • options (Hash)

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

Returns:



32
33
34
# File 'lib/blizzard_api_rb/overwatch_league.rb', line 32

def self.matches(**options)
  BlizzardApi::OverwatchLeague::Matches.new(**options)
end

.players(**options) ⇒ Players

Parameters:

  • options (Hash)

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

Returns:



25
26
27
# File 'lib/blizzard_api_rb/overwatch_league.rb', line 25

def self.players(**options)
  BlizzardApi::OverwatchLeague::Players.new(**options)
end

.segments(**options) ⇒ Segments

Parameters:

  • options (Hash)

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

Returns:



39
40
41
# File 'lib/blizzard_api_rb/overwatch_league.rb', line 39

def self.segments(**options)
  BlizzardApi::OverwatchLeague::Segments.new(**options)
end

.summary(**options) ⇒ Summary

Parameters:

  • options (Hash)

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

Returns:



18
19
20
# File 'lib/blizzard_api_rb/overwatch_league.rb', line 18

def self.summary(**options)
  BlizzardApi::OverwatchLeague::Summary.new(**options)
end

.teams(**options) ⇒ Teams

Parameters:

  • options (Hash)

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

Returns:



46
47
48
# File 'lib/blizzard_api_rb/overwatch_league.rb', line 46

def self.teams(**options)
  BlizzardApi::OverwatchLeague::Teams.new(**options)
end