Sha256: aef475fbba0e0b3d7651e57dfc0101347e703a304ab12005f4dd088e3527d637

Contents?: true

Size: 153 Bytes

Versions: 12

Compression:

Stored size: 153 Bytes

Contents

class SaleEntry < CouchRest::Model::Base
  use_database DB

  property :description
  property :price

  design do
    view :by_description
  end
  
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
couchrest_model-2.2.0.beta2 spec/fixtures/models/sale_entry.rb
couchrest_model-2.2.0.beta1 spec/fixtures/models/sale_entry.rb
couchrest_model-2.1.0.rc1 spec/fixtures/models/sale_entry.rb
couchrest_model-2.1.0.beta2 spec/fixtures/models/sale_entry.rb
couchrest_model-2.1.0.beta1 spec/fixtures/models/sale_entry.rb
couchrest_model-2.0.4 spec/fixtures/models/sale_entry.rb
couchrest_model-2.0.3 spec/fixtures/models/sale_entry.rb
couchrest_model-2.0.1 spec/fixtures/models/sale_entry.rb
couchrest_model-2.0.0 spec/fixtures/models/sale_entry.rb
couchrest_model-2.0.0.beta2 spec/fixtures/models/sale_entry.rb
couchrest_model-2.0.0.beta spec/fixtures/models/sale_entry.rb
couchrest_model-1.2.0.beta spec/fixtures/models/sale_entry.rb