Sha256: a31c1f5cd9a9a61f5efe171a478d7303799aa67a59ec698b986ae127018ef334
Contents?: true
Size: 507 Bytes
Versions: 2
Compression:
Stored size: 507 Bytes
Contents
class Widget include Ripple::Document property :size, Integer property :name, String, :default => "widget" property :manufactured, Boolean, :default => false property :shipped_at, Time property :restricted, Boolean, :default => false attr_protected :manufactured attr_protected :restricted, :as => :default many :widget_parts end class Cog < Widget property :name, String, :default => "cog" end class WidgetPart include Ripple::Document property :name, String key_on :name end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
wyngle-ripple-0.1.0 | spec/support/models/widget.rb |
ripple-1.0.0.beta2 | spec/support/models/widget.rb |