Module: Itemable

Extended by:
ActiveSupport::Concern
Included in:
Donation
Defined in:
app/concerns/itemable.rb

Overview

Include this method on objects that can be used to create items using Item.for Ticket class doesn’t need it because it defines its own sold_price method

Instance Method Summary collapse

Instance Method Details

#sold_priceObject



8
9
10
# File 'app/concerns/itemable.rb', line 8

def sold_price
  price 
end