class Ruze::Car
Public Class Methods
new(email, password, vin = nil)
click to toggle source
# File lib/ruze/car.rb, line 6 def initialize(email, password, vin = nil) gigya = Ruze::Gigya.new(email, password) @kamereon = Ruze::Kamereon.new(gigya.person_id, gigya.jwt, vin) end
Public Instance Methods
battery()
click to toggle source
# File lib/ruze/car.rb, line 11 def battery @kamereon.battery end
cockpit()
click to toggle source
# File lib/ruze/car.rb, line 15 def cockpit @kamereon.cockpit end
location()
click to toggle source
# File lib/ruze/car.rb, line 19 def location @kamereon.location end