Class: StytchB2B::MagicLinks::Email::InviteRequestOptions
- Inherits:
-
Object
- Object
- StytchB2B::MagicLinks::Email::InviteRequestOptions
- Defined in:
- lib/stytch/b2b_magic_links.rb
Instance Attribute Summary collapse
-
#authorization ⇒ Object
Optional authorization object.
Instance Method Summary collapse
-
#initialize(authorization: nil) ⇒ InviteRequestOptions
constructor
A new instance of InviteRequestOptions.
- #to_headers ⇒ Object
Constructor Details
#initialize(authorization: nil) ⇒ InviteRequestOptions
Returns a new instance of InviteRequestOptions.
170 171 172 173 174 |
# File 'lib/stytch/b2b_magic_links.rb', line 170 def initialize( authorization: nil ) = 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.
168 169 170 |
# File 'lib/stytch/b2b_magic_links.rb', line 168 def end |
Instance Method Details
#to_headers ⇒ Object
176 177 178 179 180 |
# File 'lib/stytch/b2b_magic_links.rb', line 176 def to_headers headers = {} headers.merge!(.to_headers) if headers end |