Sha256: e60c68fe89cb388880fd28f13101355f8c6b483c34e35cd4f5a95e71fc55476a

Contents?: true

Size: 567 Bytes

Versions: 110

Compression:

Stored size: 567 Bytes

Contents

require 'rhom'

class Product

    include Rhom::PropertyBag

    enable :sync
    #set :partition, :application
    set :sync_priority, 1  #sync engine should reorder sources
    
    belongs_to :quantity, ['Customer']
    belongs_to :sku, 'Customer'


=begin
    include Rhom::FixedSchema

    enable :sync
    set :schema_version, '1.0'
    
    property :brand, :string
    property :created_at, :string
    property :name, :string
    property :price, :string
    property :quantity, :string
    property :sku, :string
    property :updated_at,  :string
=end
end

Version data entries

110 entries across 110 versions & 2 rubygems

Version Path
rhodes-3.0.2 spec/phone_spec/app/Product/product.rb
rhodes-3.0.2.beta.1 spec/phone_spec/app/Product/product.rb
rhodes-3.0.1 spec/phone_spec/app/Product/product.rb
rhodes-3.0.1.beta.8 spec/phone_spec/app/Product/product.rb
rhodes-3.0.1.beta.7 spec/phone_spec/app/Product/product.rb
rhodes-3.0.1.beta.6 spec/phone_spec/app/Product/product.rb
rhodes-3.0.1.beta.5 spec/phone_spec/app/Product/product.rb
rhodes-3.0.1.beta.4 spec/phone_spec/app/Product/product.rb
rhodes-3.0.1.beta.3 spec/phone_spec/app/Product/product.rb
rhodes-3.0.1.beta.2 spec/phone_spec/app/Product/product.rb
rhodes-3.0.0 spec/phone_spec/app/Product/product.rb
rhodes-3.0.0.beta.7 spec/phone_spec/app/Product/product.rb
rhodes-3.0.0.beta.6 spec/phone_spec/app/Product/product.rb
rhodes-3.0.0.beta.5 spec/phone_spec/app/Product/product.rb
rhodes-3.0.0.beta.4 spec/phone_spec/app/Product/product.rb
rhodes-3.0.0.beta.3 spec/phone_spec/app/Product/product.rb
rhodes-3.0.0.beta.2 spec/phone_spec/app/Product/product.rb
rhodes-3.0.0.beta.1 spec/phone_spec/app/Product/product.rb
rhodes-2.4.1 spec/phone_spec/app/Product/product.rb
rhodes-2.4.1.beta.1 spec/phone_spec/app/Product/product.rb