Class: HhPackage::ReservationPackages::Metadata::CustomPkgPricing
- Inherits:
-
Object
- Object
- HhPackage::ReservationPackages::Metadata::CustomPkgPricing
- Defined in:
- app/my_lib/hh_package/reservation_packages/metadata.rb
Instance Attribute Summary collapse
-
#price_cents ⇒ Object
Returns the value of attribute price_cents.
-
#price_currency ⇒ Object
Returns the value of attribute price_currency.
Instance Method Summary collapse
-
#initialize(price_cents, price_currency) ⇒ CustomPkgPricing
constructor
A new instance of CustomPkgPricing.
Constructor Details
#initialize(price_cents, price_currency) ⇒ CustomPkgPricing
Returns a new instance of CustomPkgPricing.
58 59 60 61 |
# File 'app/my_lib/hh_package/reservation_packages/metadata.rb', line 58 def initialize(price_cents, price_currency) @price_cents = price_cents @price_currency = price_currency end |
Instance Attribute Details
#price_cents ⇒ Object
Returns the value of attribute price_cents.
56 57 58 |
# File 'app/my_lib/hh_package/reservation_packages/metadata.rb', line 56 def price_cents @price_cents end |
#price_currency ⇒ Object
Returns the value of attribute price_currency.
56 57 58 |
# File 'app/my_lib/hh_package/reservation_packages/metadata.rb', line 56 def price_currency @price_currency end |