Sha256: 53ec471dca622c9c77cae818bd6fdaf72d55ea0cca5e5b1e93bbb87c5855128f

Contents?: true

Size: 1.07 KB

Versions: 75

Compression:

Stored size: 1.07 KB

Contents

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

    resource_path 'features/prices'
    type 'feature-prices'

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

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

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

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

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

Version data entries

75 entries across 75 versions & 1 rubygems

Version Path
alula-ruby-2.1.2 lib/alula/resources/feature_price.rb
alula-ruby-2.1.1 lib/alula/resources/feature_price.rb
alula-ruby-2.1.0 lib/alula/resources/feature_price.rb
alula-ruby-2.0.0 lib/alula/resources/feature_price.rb
alula-ruby-1.10.5 lib/alula/resources/feature_price.rb
alula-ruby-1.10.4 lib/alula/resources/feature_price.rb
alula-ruby-1.10.3 lib/alula/resources/feature_price.rb
alula-ruby-1.10.2 lib/alula/resources/feature_price.rb
alula-ruby-1.10.1 lib/alula/resources/feature_price.rb
alula-ruby-1.10.0 lib/alula/resources/feature_price.rb
alula-ruby-1.9.17 lib/alula/resources/feature_price.rb
alula-ruby-1.9.16 lib/alula/resources/feature_price.rb
alula-ruby-1.9.15 lib/alula/resources/feature_price.rb
alula-ruby-1.9.14 lib/alula/resources/feature_price.rb
alula-ruby-1.9.13 lib/alula/resources/feature_price.rb
alula-ruby-1.9.12 lib/alula/resources/feature_price.rb
alula-ruby-1.9.11 lib/alula/resources/feature_price.rb
alula-ruby-1.9.10 lib/alula/resources/feature_price.rb
alula-ruby-1.9.9 lib/alula/resources/feature_price.rb
alula-ruby-1.9.8 lib/alula/resources/feature_price.rb