Class: Uber::History

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



11
12
13
# File 'lib/uber/models/activity.rb', line 11

def distance
  @distance
end

#end_timeObject

Returns the value of attribute end_time.



11
12
13
# File 'lib/uber/models/activity.rb', line 11

def end_time
  @end_time
end

#product_idObject

Returns the value of attribute product_id.



11
12
13
# File 'lib/uber/models/activity.rb', line 11

def product_id
  @product_id
end

#request_idObject Also known as: uuid

Returns the value of attribute request_id.



11
12
13
# File 'lib/uber/models/activity.rb', line 11

def request_id
  @request_id
end

#request_timeObject

Returns the value of attribute request_time.



11
12
13
# File 'lib/uber/models/activity.rb', line 11

def request_time
  @request_time
end

#start_cityObject

Returns the value of attribute start_city.



11
12
13
# File 'lib/uber/models/activity.rb', line 11

def start_city
  @start_city
end

#start_timeObject

Returns the value of attribute start_time.



11
12
13
# File 'lib/uber/models/activity.rb', line 11

def start_time
  @start_time
end

#statusObject

Returns the value of attribute status.



11
12
13
# File 'lib/uber/models/activity.rb', line 11

def status
  @status
end