Module: OpenDotaApi

Extended by:
SingleForwardable
Defined in:
lib/open_dota_api.rb,
lib/open_dota_api/hero.rb,
lib/open_dota_api/team.rb,
lib/open_dota_api/match.rb,
lib/open_dota_api/client.rb,
lib/open_dota_api/entity.rb,
lib/open_dota_api/health.rb,
lib/open_dota_api/league.rb,
lib/open_dota_api/player.rb,
lib/open_dota_api/version.rb,
lib/open_dota_api/explorer.rb,
lib/open_dota_api/connection.rb,
lib/open_dota_api/pro_player.rb,
lib/open_dota_api/matches/player.rb,
lib/open_dota_api/entities/instantiable.rb

Defined Under Namespace

Modules: Entities, Matches Classes: Client, Connection, Entity, Explorer, Health, Hero, League, Match, Player, ProPlayer, Team

Constant Summary collapse

VERSION =
'0.4.2'.freeze

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.api_keyObject

Returns the value of attribute api_key.



13
14
15
# File 'lib/open_dota_api.rb', line 13

def api_key
  @api_key
end

Class Method Details

.clientObject



8
9
10
# File 'lib/open_dota_api.rb', line 8

def self.client
  @client ||= Client.new
end