Class: OpenDotaApi::League
Constant Summary
collapse
- ENDPOINT =
'leagues'.freeze
Instance Method Summary
collapse
Methods inherited from Entity
define_adder, #initialize
included
Instance Method Details
#banner ⇒ Object
15
16
17
|
# File 'lib/open_dota_api/league.rb', line 15
def banner
data['banner']
end
|
#league_id ⇒ Object
7
8
9
|
# File 'lib/open_dota_api/league.rb', line 7
def league_id
data['leagueid']
end
|
#name ⇒ Object
23
24
25
|
# File 'lib/open_dota_api/league.rb', line 23
def name
data['name']
end
|
#ticket ⇒ Object
11
12
13
|
# File 'lib/open_dota_api/league.rb', line 11
def ticket
data['ticket']
end
|
#tier ⇒ Object
19
20
21
|
# File 'lib/open_dota_api/league.rb', line 19
def tier
data['tier']
end
|