Class: Samsara::Tachograph::AsyncClient
- Inherits:
-
Object
- Object
- Samsara::Tachograph::AsyncClient
- Defined in:
- lib/samsara_api/tachograph/client.rb
Instance Attribute Summary collapse
- #driver ⇒ Samsara::Tachograph::AsyncDriverClient readonly
- #vehicles ⇒ Samsara::Tachograph::AsyncVehiclesClient readonly
Instance Method Summary collapse
Constructor Details
#initialize(request_client:) ⇒ Samsara::Tachograph::AsyncClient
32 33 34 35 |
# File 'lib/samsara_api/tachograph/client.rb', line 32 def initialize(request_client:) @driver = Samsara::Tachograph::AsyncDriverClient.new(request_client: request_client) @vehicles = Samsara::Tachograph::AsyncVehiclesClient.new(request_client: request_client) end |
Instance Attribute Details
#driver ⇒ Samsara::Tachograph::AsyncDriverClient (readonly)
25 26 27 |
# File 'lib/samsara_api/tachograph/client.rb', line 25 def driver @driver end |
#vehicles ⇒ Samsara::Tachograph::AsyncVehiclesClient (readonly)
27 28 29 |
# File 'lib/samsara_api/tachograph/client.rb', line 27 def vehicles @vehicles end |