Class: PreludeSDK::Resources::Verification::Phone

Inherits:
Object
  • Object
show all
Defined in:
lib/prelude_sdk/resources/verification/phone.rb,
lib/prelude_sdk/resources/verification/phone/history.rb,
sig/prelude_sdk/resources/verification/phone.rbs,
sig/prelude_sdk/resources/verification/phone/history.rbs

Defined Under Namespace

Classes: History

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ Phone

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Phone.

Parameters:



14
15
16
17
# File 'lib/prelude_sdk/resources/verification/phone.rb', line 14

def initialize(client:)
  @client = client
  @history = PreludeSDK::Resources::Verification::Phone::History.new(client: client)
end

Instance Attribute Details

#history ⇒ PreludeSDK::Resources::Verification::Phone::History (readonly)

Verify phone numbers.



9
10
11
# File 'lib/prelude_sdk/resources/verification/phone.rb', line 9

def history
  @history
end