Class: Smplkit::Transport::ServiceTransports

Inherits:
Struct
  • Object
show all
Defined in:
lib/smplkit/transport.rb

Overview

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

Instance Method Summary collapse

Instance Attribute Details

#api_keyObject

Returns the value of attribute api_key

Returns:

  • (Object)

    the current value of api_key



41
42
43
# File 'lib/smplkit/transport.rb', line 41

def api_key
  @api_key
end

#app_httpObject

Returns the value of attribute app_http

Returns:

  • (Object)

    the current value of app_http



41
42
43
# File 'lib/smplkit/transport.rb', line 41

def app_http
  @app_http
end

#app_urlObject

Returns the value of attribute app_url

Returns:

  • (Object)

    the current value of app_url



41
42
43
# File 'lib/smplkit/transport.rb', line 41

def app_url
  @app_url
end

#config_httpObject

Returns the value of attribute config_http

Returns:

  • (Object)

    the current value of config_http



41
42
43
# File 'lib/smplkit/transport.rb', line 41

def config_http
  @config_http
end

#flags_httpObject

Returns the value of attribute flags_http

Returns:

  • (Object)

    the current value of flags_http



41
42
43
# File 'lib/smplkit/transport.rb', line 41

def flags_http
  @flags_http
end

#jobs_httpObject

Returns the value of attribute jobs_http

Returns:

  • (Object)

    the current value of jobs_http



41
42
43
# File 'lib/smplkit/transport.rb', line 41

def jobs_http
  @jobs_http
end

#logging_httpObject

Returns the value of attribute logging_http

Returns:

  • (Object)

    the current value of logging_http



41
42
43
# File 'lib/smplkit/transport.rb', line 41

def logging_http
  @logging_http
end

Instance Method Details

#closeObject



45
46
47
48
# File 'lib/smplkit/transport.rb', line 45

def close
  # The generated ApiClient owns Faraday connections that release on GC.
  # No explicit shutdown is exposed; this stub keeps the API stable.
end