Sha256: 1586bcb4bf72722383916f89e8ca0da7033778032642b1f4bde0938e8ab7d721
Contents?: true
Size: 453 Bytes
Versions: 32
Compression:
Stored size: 453 Bytes
Contents
class ExchangeOrder < Order def self.location "Artful.ly" end def sell_tickets end def purchase_action_class ExchangeAction end def revenue_applies_to_range(start_date, end_date) start_date < self.revenue_applies_at && self.revenue_applies_at < end_date end def calculate_when_revenue_applies self.revenue_applies_at = originally_sold_at end def ticket_details "exchanged tickets for " + super end end
Version data entries
32 entries across 32 versions & 1 rubygems