Class: ODDB::Html::Util::LookandfeelWrapper
- Inherits:
-
SBSM::LookandfeelWrapper
- Object
- SBSM::LookandfeelWrapper
- ODDB::Html::Util::LookandfeelWrapper
- Defined in:
- lib/oddb/html/util/lookandfeel.rb
Instance Method Summary collapse
Instance Method Details
#base_url ⇒ Object
527 528 529 530 |
# File 'lib/oddb/html/util/lookandfeel.rb', line 527 def base_url [@session.http_protocol + ':/', @session.server_name, @language, @session.zone].compact.join("/") end |
#price_factor ⇒ Object
531 532 533 |
# File 'lib/oddb/html/util/lookandfeel.rb', line 531 def price_factor tax_factor * currency_factor end |
#tax_factor ⇒ Object
534 535 536 |
# File 'lib/oddb/html/util/lookandfeel.rb', line 534 def tax_factor (1 + tax_factor_add) / (1 + tax_factor_sub) end |