Sha256: af7c5d9a99b35e1b778f971f845031f6ca4e7390119f872c25dc8371c5d4e97b
Contents?: true
Size: 459 Bytes
Versions: 35
Compression:
Stored size: 459 Bytes
Contents
require 'autoinc' # # Invoice - for wasya.co # _vp_ 20171031 # class Ish::Invoice include Mongoid::Document include Mongoid::Timestamps include Mongoid::Autoinc store_in :collection => 'ish_invoice' belongs_to :profile, :class_name => 'IshModels::UserProfile' field :number, :type => Integer increments :number field :amount, :type => Float has_many :payments, :class_name => 'Ish::Payment' field :description, :type => String end
Version data entries
35 entries across 35 versions & 1 rubygems