Sha256: 6916a52a81403e4987285677d95c795416b60a20069385a2a1d8b6b1bfef2beb
Contents?: true
Size: 681 Bytes
Versions: 1
Compression:
Stored size: 681 Bytes
Contents
# frozen_string_literal: true module RatingChgkV2 module Rest module Seasons def seasons collection_load name: 'Seasons', ep_params: [[]] end def season(id) model_load name: 'Season', ep_name: 'Seasons', ep_params: id end def create_season(params) model_load name: 'Season', ep_name: 'Seasons', ep_params: [[], params], method: :do_post end def update_season(id, params) model_load name: 'Season', ep_name: 'Seasons', ep_params: [id, params], method: :do_patch end def delete_season(id) endpoint('Seasons', id).do_delete end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rating-chgk-v2-1.6.0 | lib/rating_chgk_v2/rest/seasons.rb |