Class: Uber::Receipt
Instance Attribute Summary collapse
-
#currency_code ⇒ Object
Returns the value of attribute currency_code.
-
#distance ⇒ Object
Returns the value of attribute distance.
-
#distance_label ⇒ Object
Returns the value of attribute distance_label.
-
#duration ⇒ Object
Returns the value of attribute duration.
-
#request_id ⇒ Object
Returns the value of attribute request_id.
-
#subtotal ⇒ Object
Returns the value of attribute subtotal.
-
#total_charged ⇒ Object
Returns the value of attribute total_charged.
-
#total_fare ⇒ Object
Returns the value of attribute total_fare.
-
#total_owed ⇒ Object
Returns the value of attribute total_owed.
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.
3 4 5 |
# File 'lib/uber/models/receipt.rb', line 3 def currency_code @currency_code end |
#distance ⇒ Object
Returns the value of attribute distance.
3 4 5 |
# File 'lib/uber/models/receipt.rb', line 3 def distance @distance end |
#distance_label ⇒ Object
Returns the value of attribute distance_label.
3 4 5 |
# File 'lib/uber/models/receipt.rb', line 3 def distance_label @distance_label end |
#duration ⇒ Object
Returns the value of attribute duration.
3 4 5 |
# File 'lib/uber/models/receipt.rb', line 3 def duration @duration end |
#request_id ⇒ Object
Returns the value of attribute request_id.
3 4 5 |
# File 'lib/uber/models/receipt.rb', line 3 def request_id @request_id end |
#subtotal ⇒ Object
Returns the value of attribute subtotal.
3 4 5 |
# File 'lib/uber/models/receipt.rb', line 3 def subtotal @subtotal end |
#total_charged ⇒ Object
Returns the value of attribute total_charged.
3 4 5 |
# File 'lib/uber/models/receipt.rb', line 3 def total_charged @total_charged end |
#total_fare ⇒ Object
Returns the value of attribute total_fare.
3 4 5 |
# File 'lib/uber/models/receipt.rb', line 3 def total_fare @total_fare end |
#total_owed ⇒ Object
Returns the value of attribute total_owed.
3 4 5 |
# File 'lib/uber/models/receipt.rb', line 3 def total_owed @total_owed end |