Class: BillerBotResource::LineItem
- Defined in:
- lib/biller_bot_resource/line_item.rb
Instance Method Summary collapse
Methods inherited from Resource
#cache_key, config, configure, #initialize, instantiate_collection, query_string, #save
Constructor Details
This class inherits a constructor from BillerBotResource::Resource
Instance Method Details
#total_charge ⇒ Object
2 3 4 |
# File 'lib/biller_bot_resource/line_item.rb', line 2 def total_charge @attributes[:total_charge] || 0 end |