Module: Iyzi::Resources

Included in:
Iyzi
Defined in:
lib/iyzi/resources.rb

Instance Method Summary collapse

Instance Method Details

#api_testObject



3
4
5
# File 'lib/iyzi/resources.rb', line 3

def api_test
  Requests::ApiTest.new.response
end

#bin_control(options, &block) ⇒ Object



31
32
33
# File 'lib/iyzi/resources.rb', line 31

def bin_control(options, &block)
  Requests::BinControl.new(options).response(&block)
end

#checkout_form(options, &block) ⇒ Object



7
8
9
# File 'lib/iyzi/resources.rb', line 7

def checkout_form(options, &block)
  Requests::CheckoutForm.new(options).response(&block)
end

#checkout_form_auth(options, &block) ⇒ Object



11
12
13
# File 'lib/iyzi/resources.rb', line 11

def checkout_form_auth(options, &block)
  Requests::CheckoutFormAuth.new(options).response(&block)
end

#delete_card(options, &block) ⇒ Object



27
28
29
# File 'lib/iyzi/resources.rb', line 27

def delete_card(options, &block)
  Requests::CardStorage.delete(options).response(&block)
end

#installment_info(options, &block) ⇒ Object



35
36
37
# File 'lib/iyzi/resources.rb', line 35

def installment_info(options, &block)
  Requests::InstallmentInfo.new(options).response(&block)
end

#list_cards(options, &block) ⇒ Object



23
24
25
# File 'lib/iyzi/resources.rb', line 23

def list_cards(options, &block)
  Requests::CardStorage.list(options).response(&block)
end

#payment_auth(options, &block) ⇒ Object



15
16
17
# File 'lib/iyzi/resources.rb', line 15

def payment_auth(options, &block)
  Requests::PaymentAuth.new(options).response(&block)
end

#register_card(options, &block) ⇒ Object



19
20
21
# File 'lib/iyzi/resources.rb', line 19

def register_card(options, &block)
  Requests::CardStorage.add(options).response(&block)
end

#threeds_initialize(options, &block) ⇒ Object



39
40
41
# File 'lib/iyzi/resources.rb', line 39

def threeds_initialize(options, &block)
  Requests::ThreedsInitialize.new(options).response(&block)
end

#threeds_payment_create(options, &block) ⇒ Object



43
44
45
# File 'lib/iyzi/resources.rb', line 43

def threeds_payment_create(options, &block)
  Requests::ThreedsPaymentCreate.new(options).response(&block)
end