Module: Iyzi::Resources
- Included in:
- Iyzi
- Defined in:
- lib/iyzi/resources.rb
Instance Method Summary collapse
- #api_test ⇒ Object
- #bin_control(options, &block) ⇒ Object
- #checkout_form(options, &block) ⇒ Object
- #checkout_form_auth(options, &block) ⇒ Object
- #delete_card(options, &block) ⇒ Object
- #installment_info(options, &block) ⇒ Object
- #list_cards(options, &block) ⇒ Object
- #payment_auth(options, &block) ⇒ Object
- #register_card(options, &block) ⇒ Object
- #threeds_initialize(options, &block) ⇒ Object
- #threeds_payment_create(options, &block) ⇒ Object
Instance Method Details
#api_test ⇒ Object
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(, &block) Requests::BinControl.new().response(&block) end |
#checkout_form(options, &block) ⇒ Object
7 8 9 |
# File 'lib/iyzi/resources.rb', line 7 def checkout_form(, &block) Requests::CheckoutForm.new().response(&block) end |
#checkout_form_auth(options, &block) ⇒ Object
11 12 13 |
# File 'lib/iyzi/resources.rb', line 11 def checkout_form_auth(, &block) Requests::CheckoutFormAuth.new().response(&block) end |
#delete_card(options, &block) ⇒ Object
27 28 29 |
# File 'lib/iyzi/resources.rb', line 27 def delete_card(, &block) Requests::CardStorage.delete().response(&block) end |
#installment_info(options, &block) ⇒ Object
35 36 37 |
# File 'lib/iyzi/resources.rb', line 35 def installment_info(, &block) Requests::InstallmentInfo.new().response(&block) end |
#list_cards(options, &block) ⇒ Object
23 24 25 |
# File 'lib/iyzi/resources.rb', line 23 def list_cards(, &block) Requests::CardStorage.list().response(&block) end |
#payment_auth(options, &block) ⇒ Object
15 16 17 |
# File 'lib/iyzi/resources.rb', line 15 def payment_auth(, &block) Requests::PaymentAuth.new().response(&block) end |
#register_card(options, &block) ⇒ Object
19 20 21 |
# File 'lib/iyzi/resources.rb', line 19 def register_card(, &block) Requests::CardStorage.add().response(&block) end |
#threeds_initialize(options, &block) ⇒ Object
39 40 41 |
# File 'lib/iyzi/resources.rb', line 39 def threeds_initialize(, &block) Requests::ThreedsInitialize.new().response(&block) end |
#threeds_payment_create(options, &block) ⇒ Object
43 44 45 |
# File 'lib/iyzi/resources.rb', line 43 def threeds_payment_create(, &block) Requests::ThreedsPaymentCreate.new().response(&block) end |