Class: Smplkit::Transport::ServiceTransports Private
- Inherits:
-
Struct
- Object
- Struct
- Smplkit::Transport::ServiceTransports
- Defined in:
- lib/smplkit/transport.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
The per-service authenticated transports built for a top-level client.
Construction is side-effect-free: each transport connects lazily on its first call. app_url is carried alongside so the account settings client and the WebSocket can reach the app service. close tears down the underlying Faraday connection pools.
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#app_http ⇒ Object
Returns the value of attribute app_http.
-
#app_url ⇒ Object
Returns the value of attribute app_url.
-
#config_http ⇒ Object
Returns the value of attribute config_http.
-
#flags_http ⇒ Object
Returns the value of attribute flags_http.
-
#jobs_http ⇒ Object
Returns the value of attribute jobs_http.
-
#logging_http ⇒ Object
Returns the value of attribute logging_http.
Instance Method Summary collapse
- #close ⇒ Object private
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key
45 46 47 |
# File 'lib/smplkit/transport.rb', line 45 def api_key @api_key end |
#app_http ⇒ Object
Returns the value of attribute app_http
45 46 47 |
# File 'lib/smplkit/transport.rb', line 45 def app_http @app_http end |
#app_url ⇒ Object
Returns the value of attribute app_url
45 46 47 |
# File 'lib/smplkit/transport.rb', line 45 def app_url @app_url end |
#config_http ⇒ Object
Returns the value of attribute config_http
45 46 47 |
# File 'lib/smplkit/transport.rb', line 45 def config_http @config_http end |
#flags_http ⇒ Object
Returns the value of attribute flags_http
45 46 47 |
# File 'lib/smplkit/transport.rb', line 45 def flags_http @flags_http end |
#jobs_http ⇒ Object
Returns the value of attribute jobs_http
45 46 47 |
# File 'lib/smplkit/transport.rb', line 45 def jobs_http @jobs_http end |
#logging_http ⇒ Object
Returns the value of attribute logging_http
45 46 47 |
# File 'lib/smplkit/transport.rb', line 45 def logging_http @logging_http end |
Instance Method Details
#close ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
49 50 51 52 |
# File 'lib/smplkit/transport.rb', line 49 def close # The generated ApiClient owns Faraday connections that release on GC. # No explicit shutdown is exposed; this stub keeps the API stable. end |