Class: Challonge::Match
- Defined in:
- lib/challonge/match.rb
Overview
the only attributes that will save are: scores_csv, winner_id
Instance Method Summary collapse
-
#create ⇒ Object
not implemented by API.
-
#destroy ⇒ Object
not implemented by API.
- #tournament ⇒ Object
- #tournament=(tournament) ⇒ Object
Methods inherited from API
key, key=, username, username=
Instance Method Details
#create ⇒ Object
not implemented by API
15 |
# File 'lib/challonge/match.rb', line 15 def create; end |
#destroy ⇒ Object
not implemented by API
18 |
# File 'lib/challonge/match.rb', line 18 def destroy; end |
#tournament ⇒ Object
6 7 8 |
# File 'lib/challonge/match.rb', line 6 def tournament Challonge::Tournament.find(self.[:tournament_id]) end |
#tournament=(tournament) ⇒ Object
10 11 12 |
# File 'lib/challonge/match.rb', line 10 def tournament=(tournament) self.[:tournament_id] = tournament.id end |