Sha256: 1769a60f3d526b510fa356f8869e4c9fb77e46a8832c1a444ace41e5f7dbe3da

Contents?: true

Size: 287 Bytes

Versions: 19

Compression:

Stored size: 287 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

19 entries across 19 versions & 1 rubygems

Version Path
ish_models-0.0.33.53 lib/ish/payment.rb
ish_models-0.0.33.52 lib/ish/payment.rb
ish_models-0.0.33.50 lib/ish/payment.rb
ish_models-0.0.33.49 lib/ish/payment.rb
ish_models-0.0.33.48 lib/ish/payment.rb
ish_models-0.0.33.47 lib/ish/payment.rb
ish_models-0.0.33.46 lib/ish/payment.rb
ish_models-0.0.33.45 lib/ish/payment.rb
ish_models-0.0.33.44 lib/ish/payment.rb
ish_models-0.0.33.43 lib/ish/payment.rb
ish_models-0.0.33.42 lib/ish/payment.rb
ish_models-0.0.33.41 lib/ish/payment.rb
ish_models-0.0.33.40 lib/ish/payment.rb
ish_models-0.0.33.39 lib/ish/payment.rb
ish_models-0.0.33.38 lib/ish/payment.rb
ish_models-0.0.33.37 lib/ish/payment.rb
ish_models-0.0.33.36 lib/ish/payment.rb
ish_models-0.0.33.35 lib/ish/payment.rb
ish_models-0.0.33.34 lib/ish/payment.rb