Sha256: d4b4fbe0505d25c5c326838896b64cf63d597fd565cdcde98361f10cf75bdaf5

Contents?: true

Size: 358 Bytes

Versions: 8

Compression:

Stored size: 358 Bytes

Contents

require 'active_record'
require 'falls_back_on'
require 'purchase'
require 'sniff'

class PurchaseRecord < ActiveRecord::Base
  include Sniff::Emitter
  include BrighterPlanet::Purchase
  
  belongs_to :merchant,          :foreign_key => 'merchant_id'
  belongs_to :merchant_category, :foreign_key => 'mcc'

  attr_accessor :naics_code, :purchase_amount
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
purchase-1.0.2 lib/test_support/purchase_record.rb
purchase-1.0.1 lib/test_support/purchase_record.rb
purchase-1.0.0 lib/test_support/purchase_record.rb
purchase-0.1.8 lib/test_support/purchase_record.rb
purchase-0.1.7 lib/test_support/purchase_record.rb
purchase-0.1.6 lib/test_support/purchase_record.rb
purchase-0.1.5 lib/test_support/purchase_record.rb
purchase-0.1.4 lib/test_support/purchase_record.rb