Class: Iyzi::Requests::ThreedsPaymentCreate

Inherits:
Iyzi::Request show all
Defined in:
lib/iyzi/requests/threeds_payment_create.rb

Constant Summary

Constants inherited from Iyzi::Request

Iyzi::Request::AUTHORIZATION_HEADER_NAME, Iyzi::Request::AUTHORIZATION_HEADER_STRING, Iyzi::Request::DEFAULT_LOCALE, Iyzi::Request::RANDOM_HEADER_NAME

Instance Attribute Summary

Attributes inherited from Iyzi::Request

#config, #method, #options, #path, #pki, #random_string

Instance Method Summary collapse

Methods inherited from Iyzi::Request

#auth_header_string, #auth_headers, #call, #connection, #has_pki?, #iyzi_options, #params_will_be_hashed, #request_hash_digest, #response, #secure_random_string

Constructor Details

#initialize(options = {}) ⇒ ThreedsPaymentCreate

Returns a new instance of ThreedsPaymentCreate.



4
5
6
# File 'lib/iyzi/requests/threeds_payment_create.rb', line 4

def initialize(options = {})
  super(Endpoints::HTTP_POST, Endpoints::THREEDS_PAYMENT_CREATE, options)
end

Instance Method Details

#to_pkiObject



8
9
10
# File 'lib/iyzi/requests/threeds_payment_create.rb', line 8

def to_pki
  PkiBuilders::ThreedsPaymentCreate.new(iyzi_options).request_string
end