Class: Tanker::PreverifiedPhoneNumberVerification

Inherits:
Verification
  • Object
show all
Defined in:
lib/tanker/core/verification.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(preverified_phone_number) ⇒ PreverifiedPhoneNumberVerification

Returns a new instance of PreverifiedPhoneNumberVerification.



108
109
110
111
112
113
114
# File 'lib/tanker/core/verification.rb', line 108

def initialize(preverified_phone_number)
  super()

  ASSERT_UTF8.call(preverified_phone_number)

  @preverified_phone_number = preverified_phone_number
end

Instance Attribute Details

#preverified_phone_numberObject (readonly)

Returns the value of attribute preverified_phone_number.



106
107
108
# File 'lib/tanker/core/verification.rb', line 106

def preverified_phone_number
  @preverified_phone_number
end