Class: Twilio::REST::Numbers::V1::SigningRequestConfigurationInstance
- Inherits:
-
InstanceResource
- Object
- InstanceResource
- Twilio::REST::Numbers::V1::SigningRequestConfigurationInstance
- Defined in:
- lib/twilio-ruby/rest/numbers/v1/signing_request_configuration.rb
Instance Method Summary collapse
-
#country ⇒ String
The country ISO code to apply the configuration.
-
#email_message ⇒ String
Content of the email that the end client will receive ex: “This is a Hosting request from Twilio, please check the document and sign it”, maximum length of 5,000 characters.
-
#email_subject ⇒ String
Subject of the email that the end client will receive ex: “Twilio Hosting Request”, maximum length of 255 characters.
-
#friendly_name ⇒ String
This is the string that you assigned as a friendly name for describing the creation of the configuration.
-
#initialize(version, payload) ⇒ SigningRequestConfigurationInstance
constructor
Initialize the SigningRequestConfigurationInstance.
-
#inspect ⇒ Object
Provide a detailed, user friendly representation.
-
#logo_sid ⇒ String
The SID of the document that includes the logo that will appear in the LOA.
-
#product ⇒ String
The product or service for which is requesting the signature.
-
#to_s ⇒ Object
Provide a user friendly representation.
- #url ⇒ String
-
#url_redirection ⇒ String
Url the end client will be redirected after signing a document.
Constructor Details
#initialize(version, payload) ⇒ SigningRequestConfigurationInstance
Initialize the SigningRequestConfigurationInstance
313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 |
# File 'lib/twilio-ruby/rest/numbers/v1/signing_request_configuration.rb', line 313 def initialize(version, payload ) super(version) # Marshaled Properties @properties = { 'logo_sid' => payload['logo_sid'], 'friendly_name' => payload['friendly_name'], 'product' => payload['product'], 'country' => payload['country'], 'email_subject' => payload['email_subject'], 'email_message' => payload['email_message'], 'url_redirection' => payload['url_redirection'], 'url' => payload['url'], } end |
Instance Method Details
#country ⇒ String
Returns The country ISO code to apply the configuration.
351 352 353 |
# File 'lib/twilio-ruby/rest/numbers/v1/signing_request_configuration.rb', line 351 def country @properties['country'] end |
#email_message ⇒ String
Returns Content of the email that the end client will receive ex: “This is a Hosting request from Twilio, please check the document and sign it”, maximum length of 5,000 characters.
363 364 365 |
# File 'lib/twilio-ruby/rest/numbers/v1/signing_request_configuration.rb', line 363 def @properties['email_message'] end |
#email_subject ⇒ String
Returns Subject of the email that the end client will receive ex: “Twilio Hosting Request”, maximum length of 255 characters.
357 358 359 |
# File 'lib/twilio-ruby/rest/numbers/v1/signing_request_configuration.rb', line 357 def email_subject @properties['email_subject'] end |
#friendly_name ⇒ String
Returns This is the string that you assigned as a friendly name for describing the creation of the configuration.
339 340 341 |
# File 'lib/twilio-ruby/rest/numbers/v1/signing_request_configuration.rb', line 339 def friendly_name @properties['friendly_name'] end |
#inspect ⇒ Object
Provide a detailed, user friendly representation
387 388 389 |
# File 'lib/twilio-ruby/rest/numbers/v1/signing_request_configuration.rb', line 387 def inspect "<Twilio.Numbers.V1.SigningRequestConfigurationInstance>" end |
#logo_sid ⇒ String
Returns The SID of the document that includes the logo that will appear in the LOA. To upload documents follow the following guide: www.twilio.com/docs/phone-numbers/regulatory/getting-started/create-new-bundle-public-rest-apis#supporting-document-create.
333 334 335 |
# File 'lib/twilio-ruby/rest/numbers/v1/signing_request_configuration.rb', line 333 def logo_sid @properties['logo_sid'] end |
#product ⇒ String
Returns The product or service for which is requesting the signature.
345 346 347 |
# File 'lib/twilio-ruby/rest/numbers/v1/signing_request_configuration.rb', line 345 def product @properties['product'] end |
#to_s ⇒ Object
Provide a user friendly representation
381 382 383 |
# File 'lib/twilio-ruby/rest/numbers/v1/signing_request_configuration.rb', line 381 def to_s "<Twilio.Numbers.V1.SigningRequestConfigurationInstance>" end |
#url ⇒ String
375 376 377 |
# File 'lib/twilio-ruby/rest/numbers/v1/signing_request_configuration.rb', line 375 def url @properties['url'] end |
#url_redirection ⇒ String
Returns Url the end client will be redirected after signing a document.
369 370 371 |
# File 'lib/twilio-ruby/rest/numbers/v1/signing_request_configuration.rb', line 369 def url_redirection @properties['url_redirection'] end |