Sha256: ff0969f63387b4d061da6e4167cee3f1ca64286c308d519d82524024d7f02aa5

Contents?: true

Size: 359 Bytes

Versions: 11

Compression:

Stored size: 359 Bytes

Contents

class RefundOrder < Order
  include Unrefundable

  def self.location
    "Artful.ly"
  end

  def verb
    "Received refund"
  end
  
  def sell_tickets
  end

  def purchase_action_class
    RefundAction
  end

  def processor_class
    RefundOrderProcessor
  end

  def ticket_details
    "received refund for " + pluralize(num_tickets, "ticket")
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
artfully_ose-1.3.0.pre4 app/models/orders/refund_order.rb
artfully_ose-1.3.0.pre3 app/models/orders/refund_order.rb
artfully_ose-1.3.0.pre2 app/models/orders/refund_order.rb
artfully_ose-1.3.0.pre1 app/models/orders/refund_order.rb
artfully_ose-1.2.0 app/models/orders/refund_order.rb
artfully_ose-1.2.0.beta.1 app/models/orders/refund_order.rb
artfully_ose-1.2.0.alpha.2 app/models/orders/refund_order.rb
artfully_ose-1.2.0.alpha.1 app/models/orders/refund_order.rb
artfully_ose-1.2.0.pre.27 app/models/orders/refund_order.rb
artfully_ose-1.2.0.pre.26 app/models/orders/refund_order.rb
artfully_ose-1.2.0.pre.24 app/models/orders/refund_order.rb