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