Sha256: 8713994cf0d5218a645a12d25e225c7314a1b37b58ff4e732a5f1bcefe1eab91

Contents?: true

Size: 312 Bytes

Versions: 21

Compression:

Stored size: 312 Bytes

Contents

class CompOrder < Order
  include Unrefundable
    
  def self.location
    "Artful.ly"
  end
  
  def initialize
    super
    self.payment_method = ::CompPayment.payment_method
  end
  
  def sell_tickets
    all_tickets.each do |item|
      item.product.comp_to(self.person, self.created_at)
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
artfully_ose-1.2.0.pre.19 app/models/orders/comp_order.rb
artfully_ose-1.2.0.pre.18 app/models/orders/comp_order.rb
artfully_ose-1.2.0.pre.17 app/models/orders/comp_order.rb
artfully_ose-1.2.0.pre.16 app/models/orders/comp_order.rb
artfully_ose-1.2.0.pre.15 app/models/orders/comp_order.rb
artfully_ose-1.2.0.pre.12 app/models/orders/comp_order.rb
artfully_ose-1.2.0.pre.11 app/models/orders/comp_order.rb
artfully_ose-1.2.0.pre.10 app/models/orders/comp_order.rb
artfully_ose-1.2.0.pre.9 app/models/orders/comp_order.rb
artfully_ose-1.2.0.pre.8 app/models/orders/comp_order.rb
artfully_ose-1.2.0.pre.7 app/models/orders/comp_order.rb
artfully_ose-1.2.0.pre.6 app/models/orders/comp_order.rb
artfully_ose-1.2.0.pre.5 app/models/orders/comp_order.rb
artfully_ose-1.2.0.pre.4 app/models/orders/comp_order.rb
artfully_ose-1.2.0.pre.3 app/models/orders/comp_order.rb
artfully_ose-1.2.0.pre.2 app/models/orders/comp_order.rb
artfully_ose-1.2.0.pre.1 app/models/orders/comp_order.rb
artfully_ose-1.2.0.pre app/models/orders/comp_order.rb
artfully_ose-1.1.0 app/models/orders/comp_order.rb
artfully_ose-1.1.0.rc2 app/models/orders/comp_order.rb