Sha256: a328b688453f3d3d8357be3c03c55bf94aba9c86c629c75ed08feede5a2797c8

Contents?: true

Size: 283 Bytes

Versions: 15

Compression:

Stored size: 283 Bytes

Contents

class Ish::Payment
  include Mongoid::Document
  include Mongoid::Timestamps

  belongs_to :invoice, :class_name => 'Ish::Invoice'
  belongs_to :profile, :class_name => 'IshModels::UserProfile', :optional => true

  field :amount, :type => Float
  field :charge, :type => Hash

end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
ish_models-0.0.33.68 lib/ish/payment.rb
ish_models-0.0.33.67 lib/ish/payment.rb
ish_models-0.0.33.66 lib/ish/payment.rb
ish_models-0.0.33.65 lib/ish/payment.rb
ish_models-0.0.33.64 lib/ish/payment.rb
ish_models-0.0.33.63 lib/ish/payment.rb
ish_models-0.0.33.62 lib/ish/payment.rb
ish_models-0.0.33.61 lib/ish/payment.rb
ish_models-0.0.33.60 lib/ish/payment.rb
ish_models-0.0.33.59 lib/ish/payment.rb
ish_models-0.0.33.58 lib/ish/payment.rb
ish_models-0.0.33.57 lib/ish/payment.rb
ish_models-0.0.33.56 lib/ish/payment.rb
ish_models-0.0.33.55 lib/ish/payment.rb
ish_models-0.0.33.54 lib/ish/payment.rb