Sha256: 6b26a8b9b84e9a584a480f95a783dea5dfb06c111f5ca9999b36724ffb4d6f9e

Contents?: true

Size: 321 Bytes

Versions: 3

Compression:

Stored size: 321 Bytes

Contents

# frozen_string_literal: true

module RatingChgkV2
  module Models
    class VenueModel < BaseModel
      def update(params = {})
        endpoint.reinitialize new_params: params
        self.class.load :do_put, endpoint
      end

      def destroy
        endpoint.do_delete
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rating-chgk-v2-1.0.1 lib/rating_chgk_v2/models/venue_model.rb
rating-chgk-v2-1.0.0 lib/rating_chgk_v2/models/venue_model.rb
rating-chgk-v2-1.0.0.rc1 lib/rating_chgk_v2/models/venue_model.rb