Class: Uber::Partner::StatusChange
- Defined in:
- lib/uber/models/partner/trip.rb
Instance Attribute Summary collapse
-
#status ⇒ Object
Returns the value of attribute status.
-
#timestamp ⇒ Object
Returns the value of attribute timestamp.
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Uber::Base
Instance Attribute Details
#status ⇒ Object
Returns the value of attribute status.
22 23 24 |
# File 'lib/uber/models/partner/trip.rb', line 22 def status @status end |
#timestamp ⇒ Object
Returns the value of attribute timestamp.
22 23 24 |
# File 'lib/uber/models/partner/trip.rb', line 22 def @timestamp end |
Instance Method Details
#time ⇒ Object
24 25 26 |
# File 'lib/uber/models/partner/trip.rb', line 24 def time ::Time.at @timestamp if @timestamp end |