Module: BlizzardApi
- Extended by:
- Configuration, TokenManager
- Defined in:
- lib/blizzard_api_rb.rb,
lib/blizzard_api_rb/wow.rb,
lib/blizzard_api_rb/diablo.rb,
lib/blizzard_api_rb/request.rb,
lib/blizzard_api_rb/version.rb,
lib/blizzard_api_rb/wow/slug.rb,
lib/blizzard_api_rb/exception.rb,
lib/blizzard_api_rb/starcraft.rb,
lib/blizzard_api_rb/hearthstone.rb,
lib/blizzard_api_rb/wow/request.rb,
lib/blizzard_api_rb/api_response.rb,
lib/blizzard_api_rb/api_standards.rb,
lib/blizzard_api_rb/configuration.rb,
lib/blizzard_api_rb/token_manager.rb,
lib/blizzard_api_rb/diablo/request.rb,
lib/blizzard_api_rb/overwatch_league.rb,
lib/blizzard_api_rb/starcraft/request.rb,
lib/blizzard_api_rb/wow/game_data/pet.rb,
lib/blizzard_api_rb/wow/game_data/toy.rb,
lib/blizzard_api_rb/wow/profile/guild.rb,
lib/blizzard_api_rb/wow/game_data/item.rb,
lib/blizzard_api_rb/hearthstone/request.rb,
lib/blizzard_api_rb/wow/game_data/media.rb,
lib/blizzard_api_rb/wow/game_data/mount.rb,
lib/blizzard_api_rb/wow/game_data/quest.rb,
lib/blizzard_api_rb/wow/game_data/realm.rb,
lib/blizzard_api_rb/wow/game_data/spell.rb,
lib/blizzard_api_rb/wow/game_data/title.rb,
lib/blizzard_api_rb/diablo/community/act.rb,
lib/blizzard_api_rb/diablo/game_data/era.rb,
lib/blizzard_api_rb/wow/game_data/region.rb,
lib/blizzard_api_rb/wow/game_data/talent.rb,
lib/blizzard_api_rb/diablo/community/item.rb,
lib/blizzard_api_rb/wow/game_data/auction.rb,
lib/blizzard_api_rb/wow/game_data/journal.rb,
lib/blizzard_api_rb/wow/game_data/covenant.rb,
lib/blizzard_api_rb/wow/game_data/creature.rb,
lib/blizzard_api_rb/wow/game_data/heirloom.rb,
lib/blizzard_api_rb/wow/game_data/pvp_tier.rb,
lib/blizzard_api_rb/diablo/game_data/season.rb,
lib/blizzard_api_rb/wow/game_data/wow_token.rb,
lib/blizzard_api_rb/diablo/community/artisan.rb,
lib/blizzard_api_rb/diablo/community/profile.rb,
lib/blizzard_api_rb/overwatch_league/request.rb,
lib/blizzard_api_rb/wow/game_data/power_type.rb,
lib/blizzard_api_rb/wow/game_data/profession.rb,
lib/blizzard_api_rb/wow/game_data/pvp_region.rb,
lib/blizzard_api_rb/wow/game_data/pvp_season.rb,
lib/blizzard_api_rb/wow/game_data/reputation.rb,
lib/blizzard_api_rb/diablo/community/follower.rb,
lib/blizzard_api_rb/wow/game_data/achievement.rb,
lib/blizzard_api_rb/wow/game_data/guild_crest.rb,
lib/blizzard_api_rb/wow/game_data/tech_talent.rb,
lib/blizzard_api_rb/wow/search/search_request.rb,
lib/blizzard_api_rb/diablo/community/item_type.rb,
lib/blizzard_api_rb/hearthstone/game_data/back.rb,
lib/blizzard_api_rb/hearthstone/game_data/card.rb,
lib/blizzard_api_rb/hearthstone/game_data/deck.rb,
lib/blizzard_api_rb/starcraft/community/ladder.rb,
lib/blizzard_api_rb/starcraft/community/legacy.rb,
lib/blizzard_api_rb/starcraft/game_data/league.rb,
lib/blizzard_api_rb/wow/search/search_composer.rb,
lib/blizzard_api_rb/starcraft/community/account.rb,
lib/blizzard_api_rb/starcraft/community/profile.rb,
lib/blizzard_api_rb/wow/game_data/playable_race.rb,
lib/blizzard_api_rb/wow/profile/account_profile.rb,
lib/blizzard_api_rb/wow/game_data/playable_class.rb,
lib/blizzard_api_rb/wow/game_data/azerite_essence.rb,
lib/blizzard_api_rb/wow/game_data/connected_realm.rb,
lib/blizzard_api_rb/wow/game_data/mythic_keystone.rb,
lib/blizzard_api_rb/wow/profile/character_profile.rb,
lib/blizzard_api_rb/hearthstone/game_data/metadata.rb,
lib/blizzard_api_rb/wow/game_data/modified_crafting.rb,
lib/blizzard_api_rb/diablo/community/character_class.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,
lib/blizzard_api_rb/wow/game_data/generic_data_endpoint.rb,
lib/blizzard_api_rb/wow/game_data/mythic_keystone_affix.rb,
lib/blizzard_api_rb/wow/game_data/mythic_raid_leaderboard.rb,
lib/blizzard_api_rb/wow/game_data/playable_specialization.rb,
lib/blizzard_api_rb/diablo/game_data/generic_data_endpoint.rb,
lib/blizzard_api_rb/wow/game_data/mythic_keystone_leaderboard.rb,
lib/blizzard_api_rb/hearthstone/game_data/generic_data_endpoint.rb
Overview
Note:
This gem do not support nor will support China endpoints
Defined Under Namespace
Modules: ApiStandards, Configuration, Diablo, Hearthstone, OverwatchLeague, Starcraft, TokenManager, Wow Classes: ApiException, ApiResponse, Request
Constant Summary collapse
- VERSION =
Gem version
'3.4.2'
Constants included from TokenManager
Instance Attribute Summary
Attributes included from TokenManager
Attributes included from Configuration
#app_id, #app_secret, #cache_access_token, #mode, #redis_database, #redis_host, #redis_port, #region, #use_cache
Class Method Summary collapse
Methods included from TokenManager
access_token_expired?, restore_access_token, save_access_token
Methods included from Configuration
Class Method Details
.redis_connection ⇒ Object
21 22 23 24 25 |
# File 'lib/blizzard_api_rb.rb', line 21 def self.redis_connection return nil unless use_cache @redis_connection ||= Redis.new(host: redis_host, port: redis_port, db: redis_database) end |