Class: Telesign::SMS::Request

Inherits:
PhoneVerification::Request show all
Defined in:
lib/telesign/sms/request.rb

Instance Attribute Summary

Attributes inherited from PhoneVerification::Request

#additional, #call_type, #caller_id, #country_code, #delay_time, #extension_content, #extension_type, #message, #phone_number, #priority, #project, #radial_count, #verification_code

Class Method Summary collapse

Methods inherited from PhoneVerification::Request

#initialize

Methods inherited from ApiRequest

#call, #driver, request_method

Constructor Details

This class inherits a constructor from Telesign::PhoneVerification::Request

Class Method Details

.message_format=(format) ⇒ Object



7
8
9
10
11
# File 'lib/telesign/sms/request.rb', line 7

def self.message_format=(format)
  define_method(:message) do 
    format % verification_code
  end
end