Class: AbstractPricesService
- Inherits:
-
Object
- Object
- AbstractPricesService
- Defined in:
- app/services/abstract_prices_service.rb
Direct Known Subclasses
Boats::BoatPricesSaveService, Boats::BoatSalePricesSaveService, Sale::InquiryAskedPricesSaveService
Instance Attribute Summary collapse
-
#built_prices ⇒ Object
readonly
Returns the value of attribute built_prices.
Instance Method Summary collapse
-
#initialize(all_currencies = ::Dicts::Currency::ALL2) ⇒ AbstractPricesService
constructor
all_currencies - список валют, в которых надо сохранить цены.
Constructor Details
#initialize(all_currencies = ::Dicts::Currency::ALL2) ⇒ AbstractPricesService
all_currencies - список валют, в которых надо сохранить цены
5 6 7 8 |
# File 'app/services/abstract_prices_service.rb', line 5 def initialize(all_currencies = ::Dicts::Currency::ALL2) # all_currencies - список валют, в которых надо сохранить цены @all_currencies = all_currencies _reset_ivars end |
Instance Attribute Details
#built_prices ⇒ Object (readonly)
Returns the value of attribute built_prices.
3 4 5 |
# File 'app/services/abstract_prices_service.rb', line 3 def built_prices @built_prices end |