Class: StytchB2B::SCIM::Connection::RotateCompleteRequestOptions
- Inherits:
-
Object
- Object
- StytchB2B::SCIM::Connection::RotateCompleteRequestOptions
- Defined in:
- lib/stytch/b2b_scim.rb
Instance Attribute Summary collapse
-
#authorization ⇒ Object
Optional authorization object.
Instance Method Summary collapse
-
#initialize(authorization: nil) ⇒ RotateCompleteRequestOptions
constructor
A new instance of RotateCompleteRequestOptions.
- #to_headers ⇒ Object
Constructor Details
#initialize(authorization: nil) ⇒ RotateCompleteRequestOptions
Returns a new instance of RotateCompleteRequestOptions.
86 87 88 89 90 |
# File 'lib/stytch/b2b_scim.rb', line 86 def initialize( authorization: nil ) @authorization = end |
Instance Attribute Details
#authorization ⇒ Object
Optional authorization object. Pass in an active Stytch Member session token or session JWT and the request will be run using that member’s permissions.
84 85 86 |
# File 'lib/stytch/b2b_scim.rb', line 84 def @authorization end |
Instance Method Details
#to_headers ⇒ Object
92 93 94 95 96 |
# File 'lib/stytch/b2b_scim.rb', line 92 def to_headers headers = {} headers.merge!(@authorization.to_headers) if headers end |