Sha256: 18b9f128adc1a611130ddfe1ec22557e05bfe550b59fd30aff7b0255ae5395c0
Contents?: true
Size: 320 Bytes
Versions: 17
Compression:
Stored size: 320 Bytes
Contents
# Include this module into your line item implementation to make sure that Payday stays happy # with it, or just make sure that your line item implements the amount method. module Payday::LineItemable # Returns the total amount for this {LineItemable}, or +price * quantity+ def amount price * quantity end end
Version data entries
17 entries across 17 versions & 1 rubygems