Module: RatingChgkV2::Rest::TournamentTypes

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

Instance Method Summary collapse

Instance Method Details

#tournament_type(id) ⇒ Object



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

def tournament_type(id)
  model_load name: 'TournamentType', ep_name: 'TournamentTypes', ep_params: id
end

#tournament_typesObject



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

def tournament_types
  collection_load name: 'TournamentTypes', ep_params: [[]]
end