Module: RatingChgkV2::Rest::TournamentFlags

Included in:
RatingChgkV2::Rest
Defined in:
lib/rating_chgk_v2/rest/tournament_flags.rb

Instance Method Summary collapse

Instance Method Details

#tournament_flag(id) ⇒ Object



10
11
12
# File 'lib/rating_chgk_v2/rest/tournament_flags.rb', line 10

def tournament_flag(id)
  model_load name: 'TournamentFlag', ep_name: 'TournamentFlags', ep_params: id
end

#tournament_flagsObject



6
7
8
# File 'lib/rating_chgk_v2/rest/tournament_flags.rb', line 6

def tournament_flags
  collection_load name: 'TournamentFlags', ep_params: [[]]
end