Sha256: c483cb489040fcc74634ef71b9d688f8013915e645ab8ec8dd76a7dbe8c42458
Contents?: true
Size: 622 Bytes
Versions: 15
Compression:
Stored size: 622 Bytes
Contents
class Ey::Core::Client::SlotComponent < Ey::Core::Model extend Ey::Core::Associations identity :id attribute :configuration attribute :created_at, type: :time attribute :deleted_at, type: :time attribute :name attribute :updated_at, type: :time has_one :slot has_one :cluster_component has_one :component def save! raise "Cannot create new slot components" if new_record? params = { "id" => id, "slot_component" => { "configuration" => configuration, } } merge_attributes(self.connection.update_slot_component(params).body["slot_component"]) end end
Version data entries
15 entries across 15 versions & 1 rubygems