Sha256: 223226285843fb45a226763f323197516b6835b762bc53013d84fd08fbfb7a5c
Contents?: true
Size: 485 Bytes
Versions: 21
Compression:
Stored size: 485 Bytes
Contents
class Ey::Core::Client::ProviderLocation < Ey::Core::Model extend Ey::Core::Associations identity :id attribute :location_id attribute :location_name attribute :limits, type: :hash has_one :provider 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 end
Version data entries
21 entries across 21 versions & 2 rubygems