Class: Uber::Receipt

Inherits:
Base
  • Object
show all
Defined in:
lib/uber/models/receipt.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#attrs

Method Summary

Methods inherited from Base

#[], #initialize

Constructor Details

This class inherits a constructor from Uber::Base

Instance Attribute Details

#currency_codeObject

Returns the value of attribute currency_code.



3
4
5
# File 'lib/uber/models/receipt.rb', line 3

def currency_code
  @currency_code
end

#distanceObject

Returns the value of attribute distance.



3
4
5
# File 'lib/uber/models/receipt.rb', line 3

def distance
  @distance
end

#distance_labelObject

Returns the value of attribute distance_label.



3
4
5
# File 'lib/uber/models/receipt.rb', line 3

def distance_label
  @distance_label
end

#durationObject

Returns the value of attribute duration.



3
4
5
# File 'lib/uber/models/receipt.rb', line 3

def duration
  @duration
end

#request_idObject

Returns the value of attribute request_id.



3
4
5
# File 'lib/uber/models/receipt.rb', line 3

def request_id
  @request_id
end

#subtotalObject

Returns the value of attribute subtotal.



3
4
5
# File 'lib/uber/models/receipt.rb', line 3

def subtotal
  @subtotal
end

#total_chargedObject

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_fareObject

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_owedObject

Returns the value of attribute total_owed.



3
4
5
# File 'lib/uber/models/receipt.rb', line 3

def total_owed
  @total_owed
end