Sha256: d265cc4f9835c5bf4940ef37b072430aef09949223ea02179e32bb067c6ad325

Contents?: true

Size: 703 Bytes

Versions: 3

Compression:

Stored size: 703 Bytes

Contents

class CoTailors::ProfileMeasurement
  include Mongoid::Document
  include Mongoid::Timestamps

  UNITS = [ :inches, :centimeters ]
  field :units, :type => Symbol

  belongs_to :profile,    :class_name => 'IshModels::UserProfile'
  belongs_to :order_item, :class_name => 'CoTailors::OrderItem'

  ## shirt
  field :neck_around,    :type => Float
  field :chest_around,   :type => Float
  field :waist_around,   :type => Float
  field :sleeve_length,  :type => Float
  field :shoulder_width, :type => Float
  field :shirt_length,   :type => Float
  field :bicep_around,   :type => Float
  field :wrist_around,   :type => Float
  ## pants
  # length
  # waist
  # hips
  ## suit

  field :nickname

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ish_models-0.0.33.58 lib/co_tailors/profile_measurement.rb
ish_models-0.0.33.57 lib/co_tailors/profile_measurement.rb
ish_models-0.0.33.56 lib/co_tailors/profile_measurement.rb