Sha256: b28ab3e6f793d2dd3d4483cd8e8282133870ccb2a2199b10bf39db4b0b1eb1a7

Contents?: true

Size: 223 Bytes

Versions: 1

Compression:

Stored size: 223 Bytes

Contents

class Box
  include Ripple::Document
  property :shape, String
  many :sides, :class_name => 'BoxSide'
  timestamps!
end

class BoxSide
  include Ripple::EmbeddedDocument
  embedded_in :box
  property :material, String
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ripple-1.0.0.beta spec/support/models/box.rb