class Dota::API::Team

Public Instance Methods

admin_id() click to toggle source
# File lib/dota/api/team.rb, line 44
def admin_id
  raw["admin_account_id"]
end
country_code() click to toggle source
# File lib/dota/api/team.rb, line 16
def country_code
  raw["country_code"]
end
created_at() click to toggle source
# File lib/dota/api/team.rb, line 48
def created_at
  Time.at(raw["time_created"])
end
id() click to toggle source
# File lib/dota/api/team.rb, line 4
def id
  raw["team_id"]
end
logo_id() click to toggle source
# File lib/dota/api/team.rb, line 28
def logo_id
  raw["logo"]
end
matches_with_current_roster() click to toggle source
# File lib/dota/api/team.rb, line 36
def matches_with_current_roster
  raw["games_played_with_current_roster"]
end
name() click to toggle source
# File lib/dota/api/team.rb, line 8
def name
  raw["name"]
end
player_ids() click to toggle source
# File lib/dota/api/team.rb, line 40
def player_ids
  (0..4).map { |n| raw["player_#{n}_account_id"] }
end
rating() click to toggle source
# File lib/dota/api/team.rb, line 20
def rating
  raw["rating"]
end
sponsor_logo_id() click to toggle source
tag() click to toggle source
# File lib/dota/api/team.rb, line 12
def tag
  raw["tag"]
end
url() click to toggle source
# File lib/dota/api/team.rb, line 24
def url
  raw["url"]
end