Class: StytchB2B::Discovery
- Inherits:
-
Object
- Object
- StytchB2B::Discovery
- Includes:
- Stytch::RequestHelper
- Defined in:
- lib/stytch/b2b_discovery.rb
Defined Under Namespace
Classes: IntermediateSessions, Organizations
Instance Attribute Summary collapse
-
#intermediate_sessions ⇒ Object
readonly
Returns the value of attribute intermediate_sessions.
-
#organizations ⇒ Object
readonly
Returns the value of attribute organizations.
Instance Method Summary collapse
-
#initialize(connection) ⇒ Discovery
constructor
A new instance of Discovery.
Methods included from Stytch::RequestHelper
#delete_request, #get_request, #post_request, #put_request, #request_with_query_params
Constructor Details
#initialize(connection) ⇒ Discovery
Returns a new instance of Discovery.
16 17 18 19 20 21 |
# File 'lib/stytch/b2b_discovery.rb', line 16 def initialize(connection) @connection = connection @intermediate_sessions = StytchB2B::Discovery::IntermediateSessions.new(@connection) @organizations = StytchB2B::Discovery::Organizations.new(@connection) end |
Instance Attribute Details
#intermediate_sessions ⇒ Object (readonly)
Returns the value of attribute intermediate_sessions.
14 15 16 |
# File 'lib/stytch/b2b_discovery.rb', line 14 def intermediate_sessions @intermediate_sessions end |
#organizations ⇒ Object (readonly)
Returns the value of attribute organizations.
14 15 16 |
# File 'lib/stytch/b2b_discovery.rb', line 14 def organizations @organizations end |