Module: BlizzardApi::Diablo

Defined in:
lib/blizzard_api/diablo.rb,
lib/blizzard_api/diablo/request.rb,
lib/blizzard_api/diablo/community/act.rb,
lib/blizzard_api/diablo/game_data/era.rb,
lib/blizzard_api/diablo/community/item.rb,
lib/blizzard_api/diablo/game_data/season.rb,
lib/blizzard_api/diablo/community/artisan.rb,
lib/blizzard_api/diablo/community/profile.rb,
lib/blizzard_api/diablo/community/follower.rb,
lib/blizzard_api/diablo/community/item_type.rb,
lib/blizzard_api/diablo/community/character_class.rb,
lib/blizzard_api/diablo/game_data/generic_data_endpoint.rb

Overview

Diablo III related classes

Defined Under Namespace

Classes: Act, Artisan, CharacterClass, Era, Follower, GenericDataEndpoint, Item, ItemType, Profile, Request, Season

Class Method Summary collapse

Class Method Details

.act(**options) ⇒ Act

Parameters:

  • options (Hash)

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

Returns:



45
46
47
# File 'lib/blizzard_api/diablo.rb', line 45

def self.act(**options)
  BlizzardApi::Diablo::Act.new(**options)
end

.artisan(**options) ⇒ Artisan

Parameters:

  • options (Hash)

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

Returns:



52
53
54
# File 'lib/blizzard_api/diablo.rb', line 52

def self.artisan(**options)
  BlizzardApi::Diablo::Artisan.new(**options)
end

.character(**options) ⇒ Character

Parameters:

  • options (Hash)

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

Returns:

  • (Character)


66
67
68
# File 'lib/blizzard_api/diablo.rb', line 66

def self.character(**options)
  BlizzardApi::Diablo::CharacterClass.new(**options)
end

.era(**options) ⇒ Era

Parameters:

  • options (Hash)

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

Returns:



29
30
31
# File 'lib/blizzard_api/diablo.rb', line 29

def self.era(**options)
  BlizzardApi::Diablo::Era.new(**options)
end

.follower(**options) ⇒ Follower

Parameters:

  • options (Hash)

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

Returns:



59
60
61
# File 'lib/blizzard_api/diablo.rb', line 59

def self.follower(**options)
  BlizzardApi::Diablo::Follower.new(**options)
end

.item(**options) ⇒ Type

Parameters:

  • options (Hash)

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

Returns:

  • (Type)


80
81
82
# File 'lib/blizzard_api/diablo.rb', line 80

def self.item(**options)
  BlizzardApi::Diablo::Item.new(**options)
end

.item_type(**options) ⇒ ItemType

Parameters:

  • options (Hash)

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

Returns:



73
74
75
# File 'lib/blizzard_api/diablo.rb', line 73

def self.item_type(**options)
  BlizzardApi::Diablo::ItemType.new(**options)
end

.profile(**options) ⇒ Profile

Parameters:

  • options (Hash)

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

Returns:



87
88
89
# File 'lib/blizzard_api/diablo.rb', line 87

def self.profile(**options)
  BlizzardApi::Diablo::Profile.new(**options)
end

.season(**options) ⇒ Season

Parameters:

  • options (Hash)

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

Returns:



22
23
24
# File 'lib/blizzard_api/diablo.rb', line 22

def self.season(**options)
  BlizzardApi::Diablo::Season.new(**options)
end