class Twizo::VerificationParams

Attributes

body_template[RW]
dcs[RW]
recipient[RW]
sender[RW]
sender_npi[RW]
sender_ton[RW]
session_id[RW]
tag[RW]
token_length[RW]
token_type[RW]
type[RW]
validity[RW]

Public Instance Methods

to_json() click to toggle source
# File lib/twizo/modules/params/verification_params.rb, line 9
def to_json
  json = {
      :recipient          => recipient,
      :type               => type,
      :tokenLength        => token_length,
      :tokenType          => token_type,
      :bodyTemplate       => body_template,
      :sessionId          => session_id,
      :sender             => sender,
      :senderTon          => sender_ton,
      :senderNpi          => sender_npi,
      :tag                => tag,
      :validity           => validity,
      :dcs                => dcs
  }

  json.to_json
end