Class: Uber::Partner::Trip

Inherits:
Base
  • Object
show all
Defined in:
lib/uber/models/partner/trip.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

#distanceObject

Returns the value of attribute distance.



13
14
15
# File 'lib/uber/models/partner/trip.rb', line 13

def distance
  @distance
end

#driver_idObject

Returns the value of attribute driver_id.



13
14
15
# File 'lib/uber/models/partner/trip.rb', line 13

def driver_id
  @driver_id
end

#dropoffObject

Returns the value of attribute dropoff.



13
14
15
# File 'lib/uber/models/partner/trip.rb', line 13

def dropoff
  @dropoff
end

#durationObject

Returns the value of attribute duration.



13
14
15
# File 'lib/uber/models/partner/trip.rb', line 13

def duration
  @duration
end

#pickupObject

Returns the value of attribute pickup.



13
14
15
# File 'lib/uber/models/partner/trip.rb', line 13

def pickup
  @pickup
end

#start_cityObject

Returns the value of attribute start_city.



13
14
15
# File 'lib/uber/models/partner/trip.rb', line 13

def start_city
  @start_city
end

#statusObject

Returns the value of attribute status.



13
14
15
# File 'lib/uber/models/partner/trip.rb', line 13

def status
  @status
end

#status_changesObject

Returns the value of attribute status_changes.



13
14
15
# File 'lib/uber/models/partner/trip.rb', line 13

def status_changes
  @status_changes
end

#trip_idObject

Returns the value of attribute trip_id.



13
14
15
# File 'lib/uber/models/partner/trip.rb', line 13

def trip_id
  @trip_id
end

#vehicle_idObject

Returns the value of attribute vehicle_id.



13
14
15
# File 'lib/uber/models/partner/trip.rb', line 13

def vehicle_id
  @vehicle_id
end