Module: RatingChgkV2::Rest::VenueTypes
- Included in:
- RatingChgkV2::Rest
- Defined in:
- lib/rating_chgk_v2/rest/venue_types.rb
Instance Method Summary collapse
Instance Method Details
#create_venue_type(params) ⇒ Object
14 15 16 |
# File 'lib/rating_chgk_v2/rest/venue_types.rb', line 14 def create_venue_type(params) model_load name: 'VenueType', ep_name: 'VenueTypes', ep_params: [[], params], method: :do_post end |
#venue_type(id) ⇒ Object
10 11 12 |
# File 'lib/rating_chgk_v2/rest/venue_types.rb', line 10 def venue_type(id) model_load name: 'VenueType', ep_name: 'VenueTypes', ep_params: id end |
#venue_types(params = {}) ⇒ Object
6 7 8 |
# File 'lib/rating_chgk_v2/rest/venue_types.rb', line 6 def venue_types(params = {}) collection_load name: 'VenueTypes', ep_params: [[], params] end |