Sha256: 2f280b9eca230e68224b3c7f006e68047a42d3607c8c5e8c072ec09f1805d5be
Contents?: true
Size: 688 Bytes
Versions: 1
Compression:
Stored size: 688 Bytes
Contents
# frozen_string_literal: true module RatingChgkV2 module Rest module Venues def venues(params = {}) collection_load name: 'Venues', ep_params: [[], params] end def venue(id) model_load name: 'Venue', ep_name: 'Venues', ep_params: id end def create_venue(params) model_load name: 'Venue', ep_name: 'Venues', ep_params: [[], params], method: :do_post end def update_venue(id, params) model_load name: 'Venue', ep_name: 'Venues', ep_params: [id, params], method: :do_patch end def delete_venue(id) endpoint('Venues', 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/venues.rb |