Class: Smartcar::EngineOil
Overview
class to represent Engine oil info
Constant Summary collapse
- PATH =
Path Proc for hitting engine oil end point
Proc.new{|id| "/vehicles/#{id}/engine/oil"}
Constants inherited from Base
Instance Attribute Summary collapse
-
#lifeRemaining ⇒ Number
(also: #life_remaining)
Remaining life of the engine oil.
Attributes inherited from Base
Method Summary
Methods inherited from Base
Methods included from Utils
#get_config, #get_error, #initialize
Instance Attribute Details
#lifeRemaining ⇒ Number Also known as: life_remaining
Remaining life of the engine oil
4 5 6 |
# File 'lib/smartcar/engine_oil.rb', line 4 def lifeRemaining @lifeRemaining end |