Class: Uber::Price
- Defined in:
- lib/uber/models/price.rb,
lib/uber/models/estimate.rb
Instance Attribute Summary collapse
-
#currency_code ⇒ Object
Returns the value of attribute currency_code.
-
#display ⇒ Object
Returns the value of attribute display.
-
#display_name ⇒ Object
Returns the value of attribute display_name.
-
#distance ⇒ Object
Returns the value of attribute distance.
-
#duration ⇒ Object
Returns the value of attribute duration.
-
#estimate ⇒ Object
Returns the value of attribute estimate.
-
#high_estimate ⇒ Object
Returns the value of attribute high_estimate.
-
#low_estimate ⇒ Object
Returns the value of attribute low_estimate.
-
#minimum ⇒ Object
Returns the value of attribute minimum.
-
#product_id ⇒ Object
Returns the value of attribute product_id.
-
#surge_confirmation_href ⇒ Object
Returns the value of attribute surge_confirmation_href.
-
#surge_confirmation_id ⇒ Object
Returns the value of attribute surge_confirmation_id.
-
#surge_multiplier ⇒ Object
Returns the value of attribute surge_multiplier.
Attributes inherited from Base
Method Summary
Methods inherited from Base
Constructor Details
This class inherits a constructor from Uber::Base
Instance Attribute Details
#currency_code ⇒ Object
Returns the value of attribute currency_code.
4 5 6 |
# File 'lib/uber/models/price.rb', line 4 def currency_code @currency_code end |
#display ⇒ Object
Returns the value of attribute display.
40 41 42 |
# File 'lib/uber/models/estimate.rb', line 40 def display @display end |
#display_name ⇒ Object
Returns the value of attribute display_name.
4 5 6 |
# File 'lib/uber/models/price.rb', line 4 def display_name @display_name end |
#distance ⇒ Object
Returns the value of attribute distance.
4 5 6 |
# File 'lib/uber/models/price.rb', line 4 def distance @distance end |
#duration ⇒ Object
Returns the value of attribute duration.
4 5 6 |
# File 'lib/uber/models/price.rb', line 4 def duration @duration end |
#estimate ⇒ Object
Returns the value of attribute estimate.
4 5 6 |
# File 'lib/uber/models/price.rb', line 4 def estimate @estimate end |
#high_estimate ⇒ Object
Returns the value of attribute high_estimate.
4 5 6 |
# File 'lib/uber/models/price.rb', line 4 def high_estimate @high_estimate end |
#low_estimate ⇒ Object
Returns the value of attribute low_estimate.
4 5 6 |
# File 'lib/uber/models/price.rb', line 4 def low_estimate @low_estimate end |
#minimum ⇒ Object
Returns the value of attribute minimum.
40 41 42 |
# File 'lib/uber/models/estimate.rb', line 40 def minimum @minimum end |
#product_id ⇒ Object
Returns the value of attribute product_id.
4 5 6 |
# File 'lib/uber/models/price.rb', line 4 def product_id @product_id end |
#surge_confirmation_href ⇒ Object
Returns the value of attribute surge_confirmation_href.
40 41 42 |
# File 'lib/uber/models/estimate.rb', line 40 def surge_confirmation_href @surge_confirmation_href end |
#surge_confirmation_id ⇒ Object
Returns the value of attribute surge_confirmation_id.
40 41 42 |
# File 'lib/uber/models/estimate.rb', line 40 def surge_confirmation_id @surge_confirmation_id end |
#surge_multiplier ⇒ Object
Returns the value of attribute surge_multiplier.
4 5 6 |
# File 'lib/uber/models/price.rb', line 4 def surge_multiplier @surge_multiplier end |