Sha256: 2687e0d9065f21b7c6b461ba897b5a20f099a886cd447b2e82d1ae8c8dca6780
Contents?: true
Size: 459 Bytes
Versions: 1
Compression:
Stored size: 459 Bytes
Contents
class User include Ripple::Document many :addresses one :primary_mailing_address, :class_name => "Address" one :profile, :using => :key one :user_profile property :email, String, :presence => true many :friends, :class_name => "User" one :emergency_contact, :class_name => "User" one :credit_card, :using => :key end class UserProfile include Ripple::EmbeddedDocument property :name, String, :presence => true embedded_in :user end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wyngle-ripple-0.1.0 | spec/support/models/user.rb |