Sha256: d2eb34e12d2c87f169b82bade86c1095f02b678a6d29d0222dbd01162b3ecee3

Contents?: true

Size: 722 Bytes

Versions: 8

Compression:

Stored size: 722 Bytes

Contents

require_relative 'model_base'
require_relative '../utils/requestor'
require_relative 'customer_response'
require_relative 'customer_answer'

module CorePro
  module Models
    class CustomerVerifyRequest < ModelBase
      attr_accessor :customerId
      attr_accessor :verificationId
      attr_accessor :answers

      def from_json! json, classDefs
        classDefs = classDefs || {}
        classDefs['answers'] = CustomerAnswer
        super json, classDefs
      end

      def initialize
        @answers = []
      end

      def verify(connection = nil, loggingObject = nil)
        CorePro::Utils::Requestor.post('/customer/verify', CustomerResponse, self, connection, loggingObject)
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
corepro_fvr-1.0.9 lib/corepro/models/customer_verify_request.rb
corepro_eg-1.0.8 lib/corepro/models/customer_verify_request.rb
corepro_eg-1.0.7 lib/corepro/models/customer_verify_request.rb
corepro_eg-1.0.6 lib/corepro/models/customer_verify_request.rb
corepro_eg-1.0.5 lib/corepro/models/customer_verify_request.rb
corepro_eg-1.0.4 lib/corepro/models/customer_verify_request.rb
corepro_eg-1.0.3 lib/corepro/models/customer_verify_request.rb
corepro_eg-1.0.2 lib/corepro/models/customer_verify_request.rb