Class: StytchB2B::OTPs

Inherits:
Object
  • Object
show all
Includes:
Stytch::RequestHelper
Defined in:
lib/stytch/b2b_otp.rb

Defined Under Namespace

Classes: Sms

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Stytch::RequestHelper

#delete_request, #get_request, #post_request, #put_request, #request_with_query_params

Constructor Details

#initialize(connection) ⇒ OTPs

Returns a new instance of OTPs.



16
17
18
19
20
# File 'lib/stytch/b2b_otp.rb', line 16

def initialize(connection)
  @connection = connection

  @sms = StytchB2B::OTPs::Sms.new(@connection)
end

Instance Attribute Details

#smsObject (readonly)

Returns the value of attribute sms.



14
15
16
# File 'lib/stytch/b2b_otp.rb', line 14

def sms
  @sms
end