Sha256: 13882bcb14227883490f8b2972198f5307e2b2180f839ba74fdcfd0932346859
Contents?: true
Size: 1.92 KB
Versions: 28
Compression:
Stored size: 1.92 KB
Contents
module Alula class DealerProgram < Alula::RestResource extend Alula::ResourceAttributes extend Alula::RelationshipAttributes extend Alula::ApiOperations::Request extend Alula::ApiOperations::List extend Alula::ApiOperations::Save resource_path 'dealers/programs' type 'dealers-programs' # Relationships relationship :dealer, type: 'dealers', cardinality: 'To-one' relationship :billingProgram, type: 'billing-program', 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 :dealer_id, type: :string, sortable: false, filterable: true, creatable_by: [:system], patchable_by: [] field :billing_program_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: [:system] field :params, type: :object, sortable: false, 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: [], patchable_by: [] end end
Version data entries
28 entries across 28 versions & 1 rubygems