Sha256: 887ff3b5dfd8c4cd659d09512b16bcf97d10729ce71183a905e84ec5ca65dede
Contents?: true
Size: 1.7 KB
Versions: 75
Compression:
Stored size: 1.7 KB
Contents
module Alula class DeviceCharge < Alula::RestResource extend Alula::ResourceAttributes extend Alula::ApiOperations::Request extend Alula::ApiOperations::List extend Alula::ApiOperations::Save resource_path 'devices/charges' type 'devices-charge' # 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 :name, type: :string, sortable: true, filterable: true, creatable_by: [:system], patchable_by: [] field :description, type: :string, sortable: false, filterable: false, creatable_by: [:system], patchable_by: [] field :price, type: :string, sortable: true, filterable: false, creatable_by: [:system], patchable_by: [:system] 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: [] field :date_charged, type: :date, sortable: true, filterable: true, creatable_by: [:system], patchable_by: [] end end
Version data entries
75 entries across 75 versions & 1 rubygems