Sha256: d56ce85909666aa293f75127e0f811f669659c344063a004e2191715de9de67e

Contents?: true

Size: 1.49 KB

Versions: 57

Compression:

Stored size: 1.49 KB

Contents

module Alula
  class ReceiverDisabled < Alula::RestResource
    extend Alula::ResourceAttributes
    extend Alula::ApiOperations::List
    extend Alula::ApiOperations::Request
    extend Alula::ApiOperations::Save
    extend Alula::ApiOperations::Delete

    # You should update this to be a slash-separated, literal path to the resource
    # without the prefix /api/v1 or the suffix of an ID
    resource_path 'receivers/disabled'
    type 'receivers-disabled'

    # Relationships
    # None

    # Resource Fields
    field :id,
          type: :string,
          sortable: false,
          filterable: false,
          creatable_by: [],
          patchable_by: []

    field :receiver_path,
          type: :string,
          sortable: true,
          filterable: true,
          creatable_by: [:system],
          patchable_by: [:system]

    field :caller_phone_number,
          type: :string,
          sortable: true,
          filterable: true,
          creatable_by: [:system],
          patchable_by: [:system]

    field :enable,
          type: :boolean,
          sortable: true,
          filterable: true,
          creatable_by: [:system],
          patchable_by: [:system]

    field :date_entered,
          type: :date,
          sortable: false,
          filterable: false,
          creatable_by: [],
          patchable_by: []

    field :date_modified,
          type: :date,
          sortable: true,
          filterable: false,
          creatable_by: [],
          patchable_by: []
  end
end

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
alula-ruby-2.6.3 lib/alula/resources/receiver_disabled.rb
alula-ruby-2.6.2 lib/alula/resources/receiver_disabled.rb
alula-ruby-2.6.1 lib/alula/resources/receiver_disabled.rb
alula-ruby-2.6.0 lib/alula/resources/receiver_disabled.rb
alula-ruby-2.5.0 lib/alula/resources/receiver_disabled.rb
alula-ruby-2.4.0 lib/alula/resources/receiver_disabled.rb
alula-ruby-2.3.0 lib/alula/resources/receiver_disabled.rb
alula-ruby-2.2.0 lib/alula/resources/receiver_disabled.rb
alula-ruby-2.1.2 lib/alula/resources/receiver_disabled.rb
alula-ruby-2.1.1 lib/alula/resources/receiver_disabled.rb
alula-ruby-2.1.0 lib/alula/resources/receiver_disabled.rb
alula-ruby-2.0.0 lib/alula/resources/receiver_disabled.rb
alula-ruby-1.10.5 lib/alula/resources/receiver_disabled.rb
alula-ruby-1.10.4 lib/alula/resources/receiver_disabled.rb
alula-ruby-1.10.3 lib/alula/resources/receiver_disabled.rb
alula-ruby-1.10.2 lib/alula/resources/receiver_disabled.rb
alula-ruby-1.10.1 lib/alula/resources/receiver_disabled.rb
alula-ruby-1.10.0 lib/alula/resources/receiver_disabled.rb
alula-ruby-1.9.17 lib/alula/resources/receiver_disabled.rb
alula-ruby-1.9.16 lib/alula/resources/receiver_disabled.rb