Class: SSOReady::AsyncClient
- Inherits:
-
Object
- Object
- SSOReady::AsyncClient
- Defined in:
- lib/ssoready.rb
Instance Attribute Summary collapse
- #management ⇒ SSOReady::Management::AsyncClient readonly
- #saml ⇒ SSOReady::AsyncSAMLClient readonly
- #scim ⇒ SSOReady::AsyncSCIMClient readonly
Instance Method Summary collapse
Constructor Details
#initialize(base_url: nil, environment: SSOReady::Environment::DEFAULT, max_retries: nil, timeout_in_seconds: nil, api_key: ENV["SSOREADY_API_KEY"]) ⇒ SSOReady::AsyncClient
54 55 56 57 58 59 60 61 62 63 64 65 66 |
# File 'lib/ssoready.rb', line 54 def initialize(base_url: nil, environment: SSOReady::Environment::DEFAULT, max_retries: nil, timeout_in_seconds: nil, api_key: ENV["SSOREADY_API_KEY"]) @async_request_client = SSOReady::AsyncRequestClient.new( base_url: base_url, environment: environment, max_retries: max_retries, timeout_in_seconds: timeout_in_seconds, api_key: api_key ) @saml = SSOReady::AsyncSAMLClient.new(request_client: @async_request_client) @scim = SSOReady::AsyncSCIMClient.new(request_client: @async_request_client) @management = SSOReady::Management::AsyncClient.new(request_client: @async_request_client) end |
Instance Attribute Details
#management ⇒ SSOReady::Management::AsyncClient (readonly)
46 47 48 |
# File 'lib/ssoready.rb', line 46 def management @management end |
#saml ⇒ SSOReady::AsyncSAMLClient (readonly)
42 43 44 |
# File 'lib/ssoready.rb', line 42 def saml @saml end |
#scim ⇒ SSOReady::AsyncSCIMClient (readonly)
44 45 46 |
# File 'lib/ssoready.rb', line 44 def scim @scim end |