class Ey::Core::Client::ProviderLocation

Public Instance Methods

save!() click to toggle source
# File lib/ey-core/models/provider_location.rb, line 12
def save!
  params = {
    "id" => self.id,
    "provider_location" => {
      "limits" => self.limits,
    },
  }

  unless new_record?
    merge_attributes(self.connection.update_provider_location(params).body["provider_location"])
  end
end