lib/rating_chgk_v2/models/country_model.rb
# frozen_string_literal: true
module RatingChgkV2
module Models
class CountryModel < 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