Class: ChronopostFuelAdjustmentCoefficients
- Inherits:
-
Object
- Object
- ChronopostFuelAdjustmentCoefficients
- Defined in:
- lib/chronopost_fuel_adjustment_coefficients.rb
Instance Attribute Summary collapse
-
#time_period ⇒ Object
readonly
Returns the value of attribute time_period.
Instance Method Summary collapse
- #air_multiplier ⇒ Object
-
#initialize ⇒ ChronopostFuelAdjustmentCoefficients
constructor
A new instance of ChronopostFuelAdjustmentCoefficients.
- #road_multiplier ⇒ Object
- #url ⇒ Object
Constructor Details
#initialize ⇒ ChronopostFuelAdjustmentCoefficients
Returns a new instance of ChronopostFuelAdjustmentCoefficients.
9 10 11 |
# File 'lib/chronopost_fuel_adjustment_coefficients.rb', line 9 def initialize @time_period, @routier, @aerien = extracted_content end |
Instance Attribute Details
#time_period ⇒ Object (readonly)
Returns the value of attribute time_period.
7 8 9 |
# File 'lib/chronopost_fuel_adjustment_coefficients.rb', line 7 def time_period @time_period end |
Instance Method Details
#air_multiplier ⇒ Object
13 14 15 |
# File 'lib/chronopost_fuel_adjustment_coefficients.rb', line 13 def air_multiplier format_multiplier @aerien end |
#road_multiplier ⇒ Object
17 18 19 |
# File 'lib/chronopost_fuel_adjustment_coefficients.rb', line 17 def road_multiplier format_multiplier @routier end |
#url ⇒ Object
21 22 23 |
# File 'lib/chronopost_fuel_adjustment_coefficients.rb', line 21 def url 'https://www.chronopost.fr/fr/surcharge-carburant' end |