Class: Sevendigital::Price
- Inherits:
-
Object
- Object
- Sevendigital::Price
- Defined in:
- lib/sevendigital/model/price.rb
Instance Attribute Summary collapse
-
#currency_code ⇒ Object
Returns the value of attribute currency_code.
-
#currency_symbol ⇒ Object
Returns the value of attribute currency_symbol.
-
#formatted_price ⇒ Object
Returns the value of attribute formatted_price.
-
#formatted_rrp ⇒ Object
Returns the value of attribute formatted_rrp.
-
#on_sale ⇒ Object
Returns the value of attribute on_sale.
-
#rrp ⇒ Object
Returns the value of attribute rrp.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Attribute Details
#currency_code ⇒ Object
Returns the value of attribute currency_code.
5 6 7 |
# File 'lib/sevendigital/model/price.rb', line 5 def currency_code @currency_code end |
#currency_symbol ⇒ Object
Returns the value of attribute currency_symbol.
5 6 7 |
# File 'lib/sevendigital/model/price.rb', line 5 def currency_symbol @currency_symbol end |
#formatted_price ⇒ Object
Returns the value of attribute formatted_price.
5 6 7 |
# File 'lib/sevendigital/model/price.rb', line 5 def formatted_price @formatted_price end |
#formatted_rrp ⇒ Object
Returns the value of attribute formatted_rrp.
5 6 7 |
# File 'lib/sevendigital/model/price.rb', line 5 def formatted_rrp @formatted_rrp end |
#on_sale ⇒ Object
Returns the value of attribute on_sale.
5 6 7 |
# File 'lib/sevendigital/model/price.rb', line 5 def on_sale @on_sale end |
#rrp ⇒ Object
Returns the value of attribute rrp.
5 6 7 |
# File 'lib/sevendigital/model/price.rb', line 5 def rrp @rrp end |
#value ⇒ Object
Returns the value of attribute value.
5 6 7 |
# File 'lib/sevendigital/model/price.rb', line 5 def value @value end |