Sha256: d1d8ef975134f4173208ede65448982fbee9a97c1442b1f4b3891314ff095739
Contents?: true
Size: 1.47 KB
Versions: 74
Compression:
Stored size: 1.47 KB
Contents
module Alula class DeviceProgram < Alula::RestResource extend Alula::ResourceAttributes extend Alula::RelationshipAttributes extend Alula::ApiOperations::Request extend Alula::ApiOperations::List extend Alula::ApiOperations::Save extend Alula::ApiOperations::Delete resource_path 'devices/programs' type 'devices-program' # Relationships relationship :device, type: 'devices', cardinality: 'To-one' relationship :dealer_billing_program, type: 'dealers-programs', cardinality: 'To-one' # Resource Fields # Not all params are used at the moment. See Alula::ResourceAttributes for details # on how params are parsed, field :id, type: :string, sortable: false, filterable: false, creatable_by: [], patchable_by: [] field :device_id, type: :string, sortable: false, filterable: true, creatable_by: [:system], patchable_by: [] field :dealer_program_id, type: :string, sortable: false, filterable: true, creatable_by: [:system], patchable_by: [] field :date_modified, type: :date, sortable: true, filterable: true, creatable_by: [], patchable_by: [] field :date_created, type: :date, sortable: true, filterable: true, creatable_by: [:system], patchable_by: [] end end
Version data entries
74 entries across 74 versions & 1 rubygems