Class: Tracebook::Pricing::CostBreakdown
- Inherits:
-
Data
- Object
- Data
- Tracebook::Pricing::CostBreakdown
- Defined in:
- lib/tracebook/pricing/calculator.rb
Instance Attribute Summary collapse
-
#currency ⇒ Object
readonly
Returns the value of attribute currency.
-
#input_cents ⇒ Object
readonly
Returns the value of attribute input_cents.
-
#output_cents ⇒ Object
readonly
Returns the value of attribute output_cents.
-
#total_cents ⇒ Object
readonly
Returns the value of attribute total_cents.
Instance Attribute Details
#currency ⇒ Object (readonly)
Returns the value of attribute currency
5 6 7 |
# File 'lib/tracebook/pricing/calculator.rb', line 5 def currency @currency end |
#input_cents ⇒ Object (readonly)
Returns the value of attribute input_cents
5 6 7 |
# File 'lib/tracebook/pricing/calculator.rb', line 5 def input_cents @input_cents end |
#output_cents ⇒ Object (readonly)
Returns the value of attribute output_cents
5 6 7 |
# File 'lib/tracebook/pricing/calculator.rb', line 5 def output_cents @output_cents end |
#total_cents ⇒ Object (readonly)
Returns the value of attribute total_cents
5 6 7 |
# File 'lib/tracebook/pricing/calculator.rb', line 5 def total_cents @total_cents end |