Class: Samsara::Reports::Vehicles::Client
- Inherits:
-
Object
- Object
- Samsara::Reports::Vehicles::Client
- Defined in:
- lib/samsara_api/reports/vehicles/client.rb
Instance Attribute Summary collapse
- #fuel_energy ⇒ Samsara::Reports::Vehicles::FuelEnergyClient readonly
- #idling ⇒ Samsara::Reports::Vehicles::IdlingClient readonly
Instance Method Summary collapse
Constructor Details
#initialize(request_client:) ⇒ Samsara::Reports::Vehicles::Client
19 20 21 22 |
# File 'lib/samsara_api/reports/vehicles/client.rb', line 19 def initialize(request_client:) @idling = Samsara::Reports::Vehicles::IdlingClient.new(request_client: request_client) @fuel_energy = Samsara::Reports::Vehicles::FuelEnergyClient.new(request_client: request_client) end |
Instance Attribute Details
#fuel_energy ⇒ Samsara::Reports::Vehicles::FuelEnergyClient (readonly)
14 15 16 |
# File 'lib/samsara_api/reports/vehicles/client.rb', line 14 def fuel_energy @fuel_energy end |
#idling ⇒ Samsara::Reports::Vehicles::IdlingClient (readonly)
12 13 14 |
# File 'lib/samsara_api/reports/vehicles/client.rb', line 12 def idling @idling end |