Class: Samsara::Reports::Vehicles::AsyncClient
- Inherits:
-
Object
- Object
- Samsara::Reports::Vehicles::AsyncClient
- Defined in:
- lib/samsara_api/reports/vehicles/client.rb
Instance Attribute Summary collapse
- #fuel_energy ⇒ Samsara::Reports::Vehicles::AsyncFuelEnergyClient readonly
- #idling ⇒ Samsara::Reports::Vehicles::AsyncIdlingClient readonly
Instance Method Summary collapse
Constructor Details
#initialize(request_client:) ⇒ Samsara::Reports::Vehicles::AsyncClient
33 34 35 36 |
# File 'lib/samsara_api/reports/vehicles/client.rb', line 33 def initialize(request_client:) @idling = Samsara::Reports::Vehicles::AsyncIdlingClient.new(request_client: request_client) @fuel_energy = Samsara::Reports::Vehicles::AsyncFuelEnergyClient.new(request_client: request_client) end |
Instance Attribute Details
#fuel_energy ⇒ Samsara::Reports::Vehicles::AsyncFuelEnergyClient (readonly)
28 29 30 |
# File 'lib/samsara_api/reports/vehicles/client.rb', line 28 def fuel_energy @fuel_energy end |
#idling ⇒ Samsara::Reports::Vehicles::AsyncIdlingClient (readonly)
26 27 28 |
# File 'lib/samsara_api/reports/vehicles/client.rb', line 26 def idling @idling end |