Class: Statium::Opta::Resource::TournamentCalendar
- Inherits:
-
CommonResource
- Object
- CommonResource
- Statium::Opta::Resource::TournamentCalendar
- Defined in:
- lib/statium/opta/resource/tournament_calendar.rb
Instance Method Summary collapse
Methods inherited from CommonResource
#build_uri, #common_url_options
Instance Method Details
#parse(response_body) ⇒ Object
9 10 11 |
# File 'lib/statium/opta/resource/tournament_calendar.rb', line 9 def parse response_body Statium::Opta::Model::Competition.build response_body end |
#uri(auth_key, lang = 'en') ⇒ Object
5 6 7 |
# File 'lib/statium/opta/resource/tournament_calendar.rb', line 5 def uri(auth_key, lang = 'en') build_uri('tournamentcalendar', auth_key, '/authorized', (lang)) end |