Class: Telesign::PhoneVerification::Request

Inherits:
ApiRequest
  • Object
show all
Defined in:
lib/telesign/phone_verification/request.rb

Direct Known Subclasses

Call::Request, SMS::Request

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from ApiRequest

#call, #driver, request_method

Constructor Details

#initialize(phone) ⇒ Request

Returns a new instance of Request.



19
20
21
22
# File 'lib/telesign/phone_verification/request.rb', line 19

def initialize(phone)
  self.phone_number = phone.number
  self.country_code = phone.country_code
end

Instance Attribute Details

#additionalObject

Returns the value of attribute additional.



5
6
7
# File 'lib/telesign/phone_verification/request.rb', line 5

def additional
  @additional
end

#call_typeObject Also known as: callType

Returns the value of attribute call_type.



5
6
7
# File 'lib/telesign/phone_verification/request.rb', line 5

def call_type
  @call_type
end

#caller_idObject Also known as: callerID

Returns the value of attribute caller_id.



5
6
7
# File 'lib/telesign/phone_verification/request.rb', line 5

def caller_id
  @caller_id
end

#country_codeObject Also known as: countryCode

Returns the value of attribute country_code.



5
6
7
# File 'lib/telesign/phone_verification/request.rb', line 5

def country_code
  @country_code
end

#delay_timeObject Also known as: delayTime

Returns the value of attribute delay_time.



5
6
7
# File 'lib/telesign/phone_verification/request.rb', line 5

def delay_time
  @delay_time
end

#extension_contentObject Also known as: extensionContent

Returns the value of attribute extension_content.



5
6
7
# File 'lib/telesign/phone_verification/request.rb', line 5

def extension_content
  @extension_content
end

#extension_typeObject Also known as: extensionType

Returns the value of attribute extension_type.



5
6
7
# File 'lib/telesign/phone_verification/request.rb', line 5

def extension_type
  @extension_type
end

#messageObject

Returns the value of attribute message.



5
6
7
# File 'lib/telesign/phone_verification/request.rb', line 5

def message
  @message
end

#phone_numberObject Also known as: phoneNumber

Returns the value of attribute phone_number.



5
6
7
# File 'lib/telesign/phone_verification/request.rb', line 5

def phone_number
  @phone_number
end

#priorityObject

Returns the value of attribute priority.



5
6
7
# File 'lib/telesign/phone_verification/request.rb', line 5

def priority
  @priority
end

#projectObject

Returns the value of attribute project.



5
6
7
# File 'lib/telesign/phone_verification/request.rb', line 5

def project
  @project
end

#radial_countObject Also known as: redialCount

Returns the value of attribute radial_count.



5
6
7
# File 'lib/telesign/phone_verification/request.rb', line 5

def radial_count
  @radial_count
end

#verification_codeObject Also known as: verificationCode

Returns the value of attribute verification_code.



5
6
7
# File 'lib/telesign/phone_verification/request.rb', line 5

def verification_code
  @verification_code
end