mercadopago-sdk 1.3.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.editorconfig +10 -0
- data/.github/ISSUE_TEMPLATE/bug_report.md +28 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +19 -0
- data/.github/workflows/ruby.yml +35 -0
- data/.rubocop.yml +1 -0
- data/.rubocop_todo.yml +104 -0
- data/.ruby-version +1 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/CODING_GUIDELINES.md +70 -0
- data/CONTRIBUTING.md +57 -0
- data/Gemfile +6 -1
- data/Gemfile.lock +45 -17
- data/LICENSE.txt +21 -0
- data/README.md +51 -27
- data/Rakefile +3 -1
- data/docs/CODE_OF_CONDUCT_md.html +154 -0
- data/docs/CODING_GUIDELINES_md.html +188 -0
- data/docs/CONTRIBUTING_md.html +165 -0
- data/docs/LICENSE_txt.html +96 -0
- data/docs/Mercadopago.html +123 -0
- data/docs/Mercadopago/AdvancedPayment.html +279 -0
- data/docs/Mercadopago/Card.html +204 -0
- data/docs/Mercadopago/CardToken.html +160 -0
- data/docs/Mercadopago/Config.html +266 -0
- data/docs/Mercadopago/Customer.html +228 -0
- data/docs/Mercadopago/DisbursementRefund.html +183 -0
- data/docs/Mercadopago/HttpClient.html +249 -0
- data/docs/Mercadopago/IdentificationType.html +136 -0
- data/docs/Mercadopago/MPBase.html +316 -0
- data/docs/Mercadopago/MerchantOrder.html +209 -0
- data/docs/Mercadopago/Payment.html +208 -0
- data/docs/Mercadopago/PaymentMethods.html +136 -0
- data/docs/Mercadopago/Preference.html +184 -0
- data/docs/Mercadopago/Refund.html +160 -0
- data/docs/Mercadopago/RequestOptions.html +433 -0
- data/docs/Mercadopago/SDK.html +528 -0
- data/docs/Mercadopago/User.html +136 -0
- data/docs/README_md.html +181 -0
- data/docs/created.rid +25 -0
- data/docs/css/fonts.css +167 -0
- data/docs/css/rdoc.css +619 -0
- data/docs/fonts/Lato-Light.ttf +0 -0
- data/docs/fonts/Lato-LightItalic.ttf +0 -0
- data/docs/fonts/Lato-Regular.ttf +0 -0
- data/docs/fonts/Lato-RegularItalic.ttf +0 -0
- data/docs/fonts/SourceCodePro-Bold.ttf +0 -0
- data/docs/fonts/SourceCodePro-Regular.ttf +0 -0
- data/docs/images/add.png +0 -0
- data/docs/images/arrow_up.png +0 -0
- data/docs/images/brick.png +0 -0
- data/docs/images/brick_link.png +0 -0
- data/docs/images/bug.png +0 -0
- data/docs/images/bullet_black.png +0 -0
- data/docs/images/bullet_toggle_minus.png +0 -0
- data/docs/images/bullet_toggle_plus.png +0 -0
- data/docs/images/date.png +0 -0
- data/docs/images/delete.png +0 -0
- data/docs/images/find.png +0 -0
- data/docs/images/loadingAnimation.gif +0 -0
- data/docs/images/macFFBgHack.png +0 -0
- data/docs/images/package.png +0 -0
- data/docs/images/page_green.png +0 -0
- data/docs/images/page_white_text.png +0 -0
- data/docs/images/page_white_width.png +0 -0
- data/docs/images/plugin.png +0 -0
- data/docs/images/ruby.png +0 -0
- data/docs/images/tag_blue.png +0 -0
- data/docs/images/tag_green.png +0 -0
- data/docs/images/transparent.png +0 -0
- data/docs/images/wrench.png +0 -0
- data/docs/images/wrench_orange.png +0 -0
- data/docs/images/zoom.png +0 -0
- data/docs/index.html +109 -0
- data/docs/js/darkfish.js +84 -0
- data/docs/js/navigation.js +105 -0
- data/docs/js/navigation.js.gz +0 -0
- data/docs/js/search.js +110 -0
- data/docs/js/search_index.js +1 -0
- data/docs/js/search_index.js.gz +0 -0
- data/docs/js/searcher.js +229 -0
- data/docs/js/searcher.js.gz +0 -0
- data/docs/table_of_contents.html +562 -0
- data/lib/mercadopago.rb +24 -295
- data/lib/mercadopago/config/config.rb +42 -0
- data/lib/mercadopago/config/request_options.rb +85 -0
- data/lib/mercadopago/core/mp_base.rb +77 -0
- data/lib/mercadopago/http/http_client.rb +74 -0
- data/lib/mercadopago/resources/advanced_payment.rb +48 -0
- data/lib/mercadopago/resources/card.rb +31 -0
- data/lib/mercadopago/resources/card_token.rb +19 -0
- data/lib/mercadopago/resources/customer.rb +36 -0
- data/lib/mercadopago/resources/disbursement_refund.rb +24 -0
- data/lib/mercadopago/resources/identification_type.rb +13 -0
- data/lib/mercadopago/resources/merchant_order.rb +32 -0
- data/lib/mercadopago/resources/payment.rb +35 -0
- data/lib/mercadopago/resources/payment_methods.rb +13 -0
- data/lib/mercadopago/resources/preference.rb +26 -0
- data/lib/mercadopago/resources/refund.rb +24 -0
- data/lib/mercadopago/resources/user.rb +13 -0
- data/lib/mercadopago/sdk.rb +85 -0
- data/mercadopago.gemspec +11 -11
- data/tests/test_card.rb +79 -0
- data/tests/test_card_token.rb +39 -0
- data/tests/test_customer.rb +54 -0
- data/tests/test_identification_type.rb +16 -0
- data/tests/test_merchant_order.rb +94 -0
- data/tests/test_payment.rb +102 -0
- data/tests/test_payment_methods.rb +14 -0
- data/tests/test_preference.rb +49 -0
- data/tests/test_refund.rb +88 -0
- data/tests/test_user.rb +17 -0
- data/tests/tests.rb +12 -56
- metadata +127 -24
- data/.travis.yml +0 -14
- data/examples/checkout-buttons/basic_preference/button.rb +0 -28
- data/examples/instant-payment-notifications/receive-ipn.rb +0 -25
- data/examples/payment-search/search-approved-payments.rb +0 -23
- data/examples/payment-search/search-creditcard-payments.rb +0 -23
- data/examples/payment-search/search-funded-payments-by-name.rb +0 -23
- data/examples/payment-search/search-payments-from-email-and-date.rb +0 -23
- data/examples/payment-search/search-payments.rb +0 -23
- data/examples/preapproval-payments/button.rb +0 -42
- data/lib/ssl_options_patch.rb +0 -15
- data/lib/version.rb +0 -2
- data/travis_Gemfile +0 -4
@@ -0,0 +1 @@
|
|
1
|
+
var search_data = {"index":{"searchIndex":["mercadopago","advancedpayment","card","cardtoken","config","customer","disbursementrefund","httpclient","identificationtype","mpbase","merchantorder","payment","paymentmethods","preference","refund","requestoptions","sdk","user","_check_headers()","_check_request_options()","_delete()","_get()","_post()","_put()","access_token=()","access_token=()","advanced_payment()","api_base_url()","cancel()","capture()","card()","card_token()","connection_timeout=()","corporation_id=()","create()","create()","create()","create()","create()","create()","create()","create()","create()","create_all()","custom_headers=()","customer()","delete()","delete()","delete()","disbursement_refund()","get()","get()","get()","get()","get()","get()","get()","get()","get()","get()","get()","get_headers()","http_client=()","identification_type()","integrator_id=()","list()","list()","list()","max_retries=()","merchant_order()","mime_form()","mime_json()","new()","new()","new()","payment()","payment_methods()","platform_id=()","post()","preference()","product_id()","put()","refund()","request_options()","request_options=()","search()","search()","search()","search()","tracking_id()","update()","update()","update()","update()","update()","update_release_date()","user()","user_agent()","version()","code_of_conduct","coding_guidelines","contributing","license","readme"],"longSearchIndex":["mercadopago","mercadopago::advancedpayment","mercadopago::card","mercadopago::cardtoken","mercadopago::config","mercadopago::customer","mercadopago::disbursementrefund","mercadopago::httpclient","mercadopago::identificationtype","mercadopago::mpbase","mercadopago::merchantorder","mercadopago::payment","mercadopago::paymentmethods","mercadopago::preference","mercadopago::refund","mercadopago::requestoptions","mercadopago::sdk","mercadopago::user","mercadopago::mpbase#_check_headers()","mercadopago::mpbase#_check_request_options()","mercadopago::mpbase#_delete()","mercadopago::mpbase#_get()","mercadopago::mpbase#_post()","mercadopago::mpbase#_put()","mercadopago::requestoptions#access_token=()","mercadopago::sdk#access_token=()","mercadopago::sdk#advanced_payment()","mercadopago::config#api_base_url()","mercadopago::advancedpayment#cancel()","mercadopago::advancedpayment#capture()","mercadopago::sdk#card()","mercadopago::sdk#card_token()","mercadopago::requestoptions#connection_timeout=()","mercadopago::requestoptions#corporation_id=()","mercadopago::advancedpayment#create()","mercadopago::card#create()","mercadopago::cardtoken#create()","mercadopago::customer#create()","mercadopago::disbursementrefund#create()","mercadopago::merchantorder#create()","mercadopago::payment#create()","mercadopago::preference#create()","mercadopago::refund#create()","mercadopago::disbursementrefund#create_all()","mercadopago::requestoptions#custom_headers=()","mercadopago::sdk#customer()","mercadopago::card#delete()","mercadopago::customer#delete()","mercadopago::httpclient#delete()","mercadopago::sdk#disbursement_refund()","mercadopago::advancedpayment#get()","mercadopago::card#get()","mercadopago::cardtoken#get()","mercadopago::customer#get()","mercadopago::httpclient#get()","mercadopago::identificationtype#get()","mercadopago::merchantorder#get()","mercadopago::payment#get()","mercadopago::paymentmethods#get()","mercadopago::preference#get()","mercadopago::user#get()","mercadopago::requestoptions#get_headers()","mercadopago::sdk#http_client=()","mercadopago::sdk#identification_type()","mercadopago::requestoptions#integrator_id=()","mercadopago::card#list()","mercadopago::disbursementrefund#list()","mercadopago::refund#list()","mercadopago::requestoptions#max_retries=()","mercadopago::sdk#merchant_order()","mercadopago::config#mime_form()","mercadopago::config#mime_json()","mercadopago::mpbase::new()","mercadopago::requestoptions::new()","mercadopago::sdk::new()","mercadopago::sdk#payment()","mercadopago::sdk#payment_methods()","mercadopago::requestoptions#platform_id=()","mercadopago::httpclient#post()","mercadopago::sdk#preference()","mercadopago::config#product_id()","mercadopago::httpclient#put()","mercadopago::sdk#refund()","mercadopago::sdk#request_options()","mercadopago::sdk#request_options=()","mercadopago::advancedpayment#search()","mercadopago::customer#search()","mercadopago::merchantorder#search()","mercadopago::payment#search()","mercadopago::config#tracking_id()","mercadopago::advancedpayment#update()","mercadopago::customer#update()","mercadopago::merchantorder#update()","mercadopago::payment#update()","mercadopago::preference#update()","mercadopago::advancedpayment#update_release_date()","mercadopago::sdk#user()","mercadopago::config#user_agent()","mercadopago::config#version()","","","","","","","","","","","","","",""],"info":[["Mercadopago","","Mercadopago.html","","<p>typed: true\n<p>typed: true\n<p>typed: false\n"],["Mercadopago::AdvancedPayment","","Mercadopago/AdvancedPayment.html","","<p>Access to Advanced Payments\n"],["Mercadopago::Card","","Mercadopago/Card.html","","<p>This class must be used in conjunction with the Customer class. [Click here for more infos](www.mercadopago.com/developers/en/guides/online-payments/web-tokenize-checkout/customers-and-cards …\n"],["Mercadopago::CardToken","","Mercadopago/CardToken.html","","<p>This class will allow you to send your customers card data for Mercado Pago server and receive a token …\n"],["Mercadopago::Config","","Mercadopago/Config.html","",""],["Mercadopago::Customer","","Mercadopago/Customer.html","","<p>This will allow your customer to complete their purchases much faster and easily when used in conjunction …\n"],["Mercadopago::DisbursementRefund","","Mercadopago/DisbursementRefund.html","","<p>Access to Advanced Payments Refunds\n"],["Mercadopago::HttpClient","","Mercadopago/HttpClient.html","",""],["Mercadopago::IdentificationType","","Mercadopago/IdentificationType.html","","<p>Access to Identification Types\n"],["Mercadopago::MPBase","","Mercadopago/MPBase.html","","<p>Module Base\n"],["Mercadopago::MerchantOrder","","Mercadopago/MerchantOrder.html","","<p>This class will allow you to create and manage your orders. You can attach one or more payments in your …\n"],["Mercadopago::Payment","","Mercadopago/Payment.html","","<p>[Click here for more infos](www.mercadopago.com.br/developers/en/guides/online-payments/checkout-api/introduction …\n"],["Mercadopago::PaymentMethods","","Mercadopago/PaymentMethods.html","","<p>Access to Payment Methods\n"],["Mercadopago::Preference","","Mercadopago/Preference.html","","<p>This class will allow you to charge your customers through our web form from any device in a simple, …\n"],["Mercadopago::Refund","","Mercadopago/Refund.html","","<p>[Click here for more infos](www.mercadopago.com.br/developers/en/guides/manage-account/account/cancellations-and-refunds#bookmark_refunds …\n"],["Mercadopago::RequestOptions","","Mercadopago/RequestOptions.html","",""],["Mercadopago::SDK","","Mercadopago/SDK.html","",""],["Mercadopago::User","","Mercadopago/User.html","","<p>Access to Users\n"],["_check_headers","Mercadopago::MPBase","Mercadopago/MPBase.html#method-i-_check_headers","(request_options = nil, extra_headers = nil)",""],["_check_request_options","Mercadopago::MPBase","Mercadopago/MPBase.html#method-i-_check_request_options","(request_options = nil)",""],["_delete","Mercadopago::MPBase","Mercadopago/MPBase.html#method-i-_delete","(uri:, request_options: nil)",""],["_get","Mercadopago::MPBase","Mercadopago/MPBase.html#method-i-_get","(uri:, filters: nil, request_options: nil)",""],["_post","Mercadopago::MPBase","Mercadopago/MPBase.html#method-i-_post","(uri:, data:, request_options: nil)",""],["_put","Mercadopago::MPBase","Mercadopago/MPBase.html#method-i-_put","(uri:, data:, request_options: nil)",""],["access_token=","Mercadopago::RequestOptions","Mercadopago/RequestOptions.html#method-i-access_token-3D","(value)",""],["access_token=","Mercadopago::SDK","Mercadopago/SDK.html#method-i-access_token-3D","(value)",""],["advanced_payment","Mercadopago::SDK","Mercadopago/SDK.html#method-i-advanced_payment","()",""],["api_base_url","Mercadopago::Config","Mercadopago/Config.html#method-i-api_base_url","()",""],["cancel","Mercadopago::AdvancedPayment","Mercadopago/AdvancedPayment.html#method-i-cancel","(advanced_payment_id, request_options: nil)",""],["capture","Mercadopago::AdvancedPayment","Mercadopago/AdvancedPayment.html#method-i-capture","(advanced_payment_id, request_options: nil)",""],["card","Mercadopago::SDK","Mercadopago/SDK.html#method-i-card","()",""],["card_token","Mercadopago::SDK","Mercadopago/SDK.html#method-i-card_token","()",""],["connection_timeout=","Mercadopago::RequestOptions","Mercadopago/RequestOptions.html#method-i-connection_timeout-3D","(value)",""],["corporation_id=","Mercadopago::RequestOptions","Mercadopago/RequestOptions.html#method-i-corporation_id-3D","(value)",""],["create","Mercadopago::AdvancedPayment","Mercadopago/AdvancedPayment.html#method-i-create","(advanced_payment_data, request_options: nil)",""],["create","Mercadopago::Card","Mercadopago/Card.html#method-i-create","(customer_id, card_data, request_options: nil)",""],["create","Mercadopago::CardToken","Mercadopago/CardToken.html#method-i-create","(card_token_data, request_options: nil)",""],["create","Mercadopago::Customer","Mercadopago/Customer.html#method-i-create","(customer_data, request_options: nil)",""],["create","Mercadopago::DisbursementRefund","Mercadopago/DisbursementRefund.html#method-i-create","(advanced_payment_id, disbursement_id, amount: nil, request_options: nil)",""],["create","Mercadopago::MerchantOrder","Mercadopago/MerchantOrder.html#method-i-create","(merchant_order_data, request_options: nil)",""],["create","Mercadopago::Payment","Mercadopago/Payment.html#method-i-create","(payment_data, request_options: nil)",""],["create","Mercadopago::Preference","Mercadopago/Preference.html#method-i-create","(preference_data, request_options: nil)",""],["create","Mercadopago::Refund","Mercadopago/Refund.html#method-i-create","(payment_id, refund_data: nil, request_options: nil)",""],["create_all","Mercadopago::DisbursementRefund","Mercadopago/DisbursementRefund.html#method-i-create_all","(advanced_payment_id, request_options: nil)",""],["custom_headers=","Mercadopago::RequestOptions","Mercadopago/RequestOptions.html#method-i-custom_headers-3D","(value)",""],["customer","Mercadopago::SDK","Mercadopago/SDK.html#method-i-customer","()",""],["delete","Mercadopago::Card","Mercadopago/Card.html#method-i-delete","(customer_id, card_id, request_options: nil)",""],["delete","Mercadopago::Customer","Mercadopago/Customer.html#method-i-delete","(customer_id, request_options: nil)",""],["delete","Mercadopago::HttpClient","Mercadopago/HttpClient.html#method-i-delete","(url:, headers:, timeout: nil)",""],["disbursement_refund","Mercadopago::SDK","Mercadopago/SDK.html#method-i-disbursement_refund","()",""],["get","Mercadopago::AdvancedPayment","Mercadopago/AdvancedPayment.html#method-i-get","(advanced_payment_id, request_options: nil)",""],["get","Mercadopago::Card","Mercadopago/Card.html#method-i-get","(customer_id, card_id, request_options: nil)",""],["get","Mercadopago::CardToken","Mercadopago/CardToken.html#method-i-get","(card_token_id, request_options: nil)",""],["get","Mercadopago::Customer","Mercadopago/Customer.html#method-i-get","(customer_id, request_options: nil)",""],["get","Mercadopago::HttpClient","Mercadopago/HttpClient.html#method-i-get","(url:, headers:, params: nil, timeout: nil, maxretries: nil)",""],["get","Mercadopago::IdentificationType","Mercadopago/IdentificationType.html#method-i-get","(request_options: nil)",""],["get","Mercadopago::MerchantOrder","Mercadopago/MerchantOrder.html#method-i-get","(merchant_order_id, request_options: nil)",""],["get","Mercadopago::Payment","Mercadopago/Payment.html#method-i-get","(payment_id, request_options: nil)",""],["get","Mercadopago::PaymentMethods","Mercadopago/PaymentMethods.html#method-i-get","(request_options: nil)",""],["get","Mercadopago::Preference","Mercadopago/Preference.html#method-i-get","(preference_id, request_options: nil)",""],["get","Mercadopago::User","Mercadopago/User.html#method-i-get","(request_options: nil)",""],["get_headers","Mercadopago::RequestOptions","Mercadopago/RequestOptions.html#method-i-get_headers","()",""],["http_client=","Mercadopago::SDK","Mercadopago/SDK.html#method-i-http_client-3D","(value)",""],["identification_type","Mercadopago::SDK","Mercadopago/SDK.html#method-i-identification_type","()",""],["integrator_id=","Mercadopago::RequestOptions","Mercadopago/RequestOptions.html#method-i-integrator_id-3D","(value)",""],["list","Mercadopago::Card","Mercadopago/Card.html#method-i-list","(customer_id, request_options: nil)",""],["list","Mercadopago::DisbursementRefund","Mercadopago/DisbursementRefund.html#method-i-list","(advanced_payment_id, request_options: nil)",""],["list","Mercadopago::Refund","Mercadopago/Refund.html#method-i-list","(payment_id, request_options: nil)",""],["max_retries=","Mercadopago::RequestOptions","Mercadopago/RequestOptions.html#method-i-max_retries-3D","(value)",""],["merchant_order","Mercadopago::SDK","Mercadopago/SDK.html#method-i-merchant_order","()",""],["mime_form","Mercadopago::Config","Mercadopago/Config.html#method-i-mime_form","()",""],["mime_json","Mercadopago::Config","Mercadopago/Config.html#method-i-mime_json","()",""],["new","Mercadopago::MPBase","Mercadopago/MPBase.html#method-c-new","(request_options, http_client)",""],["new","Mercadopago::RequestOptions","Mercadopago/RequestOptions.html#method-c-new","(access_token: nil, connection_timeout: 60.0, custom_headers: nil, corporation_id: nil, integrator_id: nil, platform_id: nil, max_retries: 3)",""],["new","Mercadopago::SDK","Mercadopago/SDK.html#method-c-new","(access_token, http_client: nil, request_options: nil)",""],["payment","Mercadopago::SDK","Mercadopago/SDK.html#method-i-payment","()",""],["payment_methods","Mercadopago::SDK","Mercadopago/SDK.html#method-i-payment_methods","()",""],["platform_id=","Mercadopago::RequestOptions","Mercadopago/RequestOptions.html#method-i-platform_id-3D","(value)",""],["post","Mercadopago::HttpClient","Mercadopago/HttpClient.html#method-i-post","(url:, data:, headers:, timeout: nil)",""],["preference","Mercadopago::SDK","Mercadopago/SDK.html#method-i-preference","()",""],["product_id","Mercadopago::Config","Mercadopago/Config.html#method-i-product_id","()",""],["put","Mercadopago::HttpClient","Mercadopago/HttpClient.html#method-i-put","(url:, data:, headers:, timeout: nil)",""],["refund","Mercadopago::SDK","Mercadopago/SDK.html#method-i-refund","()",""],["request_options","Mercadopago::SDK","Mercadopago/SDK.html#method-i-request_options","()",""],["request_options=","Mercadopago::SDK","Mercadopago/SDK.html#method-i-request_options-3D","(value)",""],["search","Mercadopago::AdvancedPayment","Mercadopago/AdvancedPayment.html#method-i-search","(filters: nil, request_options: nil)",""],["search","Mercadopago::Customer","Mercadopago/Customer.html#method-i-search","(filters: nil, request_options: nil)",""],["search","Mercadopago::MerchantOrder","Mercadopago/MerchantOrder.html#method-i-search","(filters: nil, request_options: nil)",""],["search","Mercadopago::Payment","Mercadopago/Payment.html#method-i-search","(filters: nil, request_options: nil)",""],["tracking_id","Mercadopago::Config","Mercadopago/Config.html#method-i-tracking_id","()",""],["update","Mercadopago::AdvancedPayment","Mercadopago/AdvancedPayment.html#method-i-update","(advanced_payment_id, advanced_payment_data, request_options: nil)",""],["update","Mercadopago::Customer","Mercadopago/Customer.html#method-i-update","(customer_id, customer_data, request_options: nil)",""],["update","Mercadopago::MerchantOrder","Mercadopago/MerchantOrder.html#method-i-update","(merchant_order_id, merchant_order_data, request_options: nil)",""],["update","Mercadopago::Payment","Mercadopago/Payment.html#method-i-update","(payment_id, payment_data, request_options: nil)",""],["update","Mercadopago::Preference","Mercadopago/Preference.html#method-i-update","(preference_id, preference_data, request_options: nil)",""],["update_release_date","Mercadopago::AdvancedPayment","Mercadopago/AdvancedPayment.html#method-i-update_release_date","(advanced_payment_id, release_date, request_options: nil)",""],["user","Mercadopago::SDK","Mercadopago/SDK.html#method-i-user","()",""],["user_agent","Mercadopago::Config","Mercadopago/Config.html#method-i-user_agent","()",""],["version","Mercadopago::Config","Mercadopago/Config.html#method-i-version","()",""],["CODE_OF_CONDUCT","","CODE_OF_CONDUCT_md.html","","<p>Contributor Covenant Code of Conduct\n<p>Our Pledge\n<p>In the interest of fostering an open and welcoming environment, …\n"],["CODING_GUIDELINES","","CODING_GUIDELINES_md.html","","<p>Coding Guidelines\n<p>The Mercado Pago Ruby SDK is a collaborative effort from the start. The SDK team thinks …\n"],["CONTRIBUTING","","CONTRIBUTING_md.html","","<p>Contributing to the Mercado Pago Ruby SDK\n<p>Thank you for your interest in contributing to the Mercado …\n"],["LICENSE","","LICENSE_txt.html","","<p>The MIT License (MIT)\n<p>Copyright © 2021 Mercado Pago\n<p>Permission is hereby granted, free of charge, to …\n"],["README","","README_md.html","","<p>Mercado Pago SDK for Ruby\n<p><img src=\"https://img.shields.io/gem/v/mercadopago-sdk\">\n<img src=\"https://img.shields.io/gem/dt/mercadopago-sdk\"> ...\n"]]}}
|
Binary file
|
data/docs/js/searcher.js
ADDED
@@ -0,0 +1,229 @@
|
|
1
|
+
Searcher = function(data) {
|
2
|
+
this.data = data;
|
3
|
+
this.handlers = [];
|
4
|
+
}
|
5
|
+
|
6
|
+
Searcher.prototype = new function() {
|
7
|
+
// search is performed in chunks of 1000 for non-blocking user input
|
8
|
+
var CHUNK_SIZE = 1000;
|
9
|
+
// do not try to find more than 100 results
|
10
|
+
var MAX_RESULTS = 100;
|
11
|
+
var huid = 1;
|
12
|
+
var suid = 1;
|
13
|
+
var runs = 0;
|
14
|
+
|
15
|
+
this.find = function(query) {
|
16
|
+
var queries = splitQuery(query);
|
17
|
+
var regexps = buildRegexps(queries);
|
18
|
+
var highlighters = buildHilighters(queries);
|
19
|
+
var state = { from: 0, pass: 0, limit: MAX_RESULTS, n: suid++};
|
20
|
+
var _this = this;
|
21
|
+
|
22
|
+
this.currentSuid = state.n;
|
23
|
+
|
24
|
+
if (!query) return;
|
25
|
+
|
26
|
+
var run = function() {
|
27
|
+
// stop current search thread if new search started
|
28
|
+
if (state.n != _this.currentSuid) return;
|
29
|
+
|
30
|
+
var results =
|
31
|
+
performSearch(_this.data, regexps, queries, highlighters, state);
|
32
|
+
var hasMore = (state.limit > 0 && state.pass < 4);
|
33
|
+
|
34
|
+
triggerResults.call(_this, results, !hasMore);
|
35
|
+
if (hasMore) {
|
36
|
+
setTimeout(run, 2);
|
37
|
+
}
|
38
|
+
runs++;
|
39
|
+
};
|
40
|
+
runs = 0;
|
41
|
+
|
42
|
+
// start search thread
|
43
|
+
run();
|
44
|
+
}
|
45
|
+
|
46
|
+
/* ----- Events ------ */
|
47
|
+
this.ready = function(fn) {
|
48
|
+
fn.huid = huid;
|
49
|
+
this.handlers.push(fn);
|
50
|
+
}
|
51
|
+
|
52
|
+
/* ----- Utilities ------ */
|
53
|
+
function splitQuery(query) {
|
54
|
+
return query.split(/(\s+|::?|\(\)?)/).filter(function(string) {
|
55
|
+
return string.match(/\S/);
|
56
|
+
});
|
57
|
+
}
|
58
|
+
|
59
|
+
function buildRegexps(queries) {
|
60
|
+
return queries.map(function(query) {
|
61
|
+
return new RegExp(query.replace(/(.)/g, '([$1])([^$1]*?)'), 'i');
|
62
|
+
});
|
63
|
+
}
|
64
|
+
|
65
|
+
function buildHilighters(queries) {
|
66
|
+
return queries.map(function(query) {
|
67
|
+
return query.split('').map(function(l, i) {
|
68
|
+
return '\u0001$' + (i*2+1) + '\u0002$' + (i*2+2);
|
69
|
+
}).join('');
|
70
|
+
});
|
71
|
+
}
|
72
|
+
|
73
|
+
// function longMatchRegexp(index, longIndex, regexps) {
|
74
|
+
// for (var i = regexps.length - 1; i >= 0; i--){
|
75
|
+
// if (!index.match(regexps[i]) && !longIndex.match(regexps[i])) return false;
|
76
|
+
// };
|
77
|
+
// return true;
|
78
|
+
// }
|
79
|
+
|
80
|
+
|
81
|
+
/* ----- Mathchers ------ */
|
82
|
+
|
83
|
+
/*
|
84
|
+
* This record matches if the index starts with queries[0] and the record
|
85
|
+
* matches all of the regexps
|
86
|
+
*/
|
87
|
+
function matchPassBeginning(index, longIndex, queries, regexps) {
|
88
|
+
if (index.indexOf(queries[0]) != 0) return false;
|
89
|
+
for (var i=1, l = regexps.length; i < l; i++) {
|
90
|
+
if (!index.match(regexps[i]) && !longIndex.match(regexps[i]))
|
91
|
+
return false;
|
92
|
+
};
|
93
|
+
return true;
|
94
|
+
}
|
95
|
+
|
96
|
+
/*
|
97
|
+
* This record matches if the longIndex starts with queries[0] and the
|
98
|
+
* longIndex matches all of the regexps
|
99
|
+
*/
|
100
|
+
function matchPassLongIndex(index, longIndex, queries, regexps) {
|
101
|
+
if (longIndex.indexOf(queries[0]) != 0) return false;
|
102
|
+
for (var i=1, l = regexps.length; i < l; i++) {
|
103
|
+
if (!longIndex.match(regexps[i]))
|
104
|
+
return false;
|
105
|
+
};
|
106
|
+
return true;
|
107
|
+
}
|
108
|
+
|
109
|
+
/*
|
110
|
+
* This record matches if the index contains queries[0] and the record
|
111
|
+
* matches all of the regexps
|
112
|
+
*/
|
113
|
+
function matchPassContains(index, longIndex, queries, regexps) {
|
114
|
+
if (index.indexOf(queries[0]) == -1) return false;
|
115
|
+
for (var i=1, l = regexps.length; i < l; i++) {
|
116
|
+
if (!index.match(regexps[i]) && !longIndex.match(regexps[i]))
|
117
|
+
return false;
|
118
|
+
};
|
119
|
+
return true;
|
120
|
+
}
|
121
|
+
|
122
|
+
/*
|
123
|
+
* This record matches if regexps[0] matches the index and the record
|
124
|
+
* matches all of the regexps
|
125
|
+
*/
|
126
|
+
function matchPassRegexp(index, longIndex, queries, regexps) {
|
127
|
+
if (!index.match(regexps[0])) return false;
|
128
|
+
for (var i=1, l = regexps.length; i < l; i++) {
|
129
|
+
if (!index.match(regexps[i]) && !longIndex.match(regexps[i]))
|
130
|
+
return false;
|
131
|
+
};
|
132
|
+
return true;
|
133
|
+
}
|
134
|
+
|
135
|
+
|
136
|
+
/* ----- Highlighters ------ */
|
137
|
+
function highlightRegexp(info, queries, regexps, highlighters) {
|
138
|
+
var result = createResult(info);
|
139
|
+
for (var i=0, l = regexps.length; i < l; i++) {
|
140
|
+
result.title = result.title.replace(regexps[i], highlighters[i]);
|
141
|
+
result.namespace = result.namespace.replace(regexps[i], highlighters[i]);
|
142
|
+
};
|
143
|
+
return result;
|
144
|
+
}
|
145
|
+
|
146
|
+
function hltSubstring(string, pos, length) {
|
147
|
+
return string.substring(0, pos) + '\u0001' + string.substring(pos, pos + length) + '\u0002' + string.substring(pos + length);
|
148
|
+
}
|
149
|
+
|
150
|
+
function highlightQuery(info, queries, regexps, highlighters) {
|
151
|
+
var result = createResult(info);
|
152
|
+
var pos = 0;
|
153
|
+
var lcTitle = result.title.toLowerCase();
|
154
|
+
|
155
|
+
pos = lcTitle.indexOf(queries[0]);
|
156
|
+
if (pos != -1) {
|
157
|
+
result.title = hltSubstring(result.title, pos, queries[0].length);
|
158
|
+
}
|
159
|
+
|
160
|
+
result.namespace = result.namespace.replace(regexps[0], highlighters[0]);
|
161
|
+
for (var i=1, l = regexps.length; i < l; i++) {
|
162
|
+
result.title = result.title.replace(regexps[i], highlighters[i]);
|
163
|
+
result.namespace = result.namespace.replace(regexps[i], highlighters[i]);
|
164
|
+
};
|
165
|
+
return result;
|
166
|
+
}
|
167
|
+
|
168
|
+
function createResult(info) {
|
169
|
+
var result = {};
|
170
|
+
result.title = info[0];
|
171
|
+
result.namespace = info[1];
|
172
|
+
result.path = info[2];
|
173
|
+
result.params = info[3];
|
174
|
+
result.snippet = info[4];
|
175
|
+
result.badge = info[6];
|
176
|
+
return result;
|
177
|
+
}
|
178
|
+
|
179
|
+
/* ----- Searching ------ */
|
180
|
+
function performSearch(data, regexps, queries, highlighters, state) {
|
181
|
+
var searchIndex = data.searchIndex;
|
182
|
+
var longSearchIndex = data.longSearchIndex;
|
183
|
+
var info = data.info;
|
184
|
+
var result = [];
|
185
|
+
var i = state.from;
|
186
|
+
var l = searchIndex.length;
|
187
|
+
var togo = CHUNK_SIZE;
|
188
|
+
var matchFunc, hltFunc;
|
189
|
+
|
190
|
+
while (state.pass < 4 && state.limit > 0 && togo > 0) {
|
191
|
+
if (state.pass == 0) {
|
192
|
+
matchFunc = matchPassBeginning;
|
193
|
+
hltFunc = highlightQuery;
|
194
|
+
} else if (state.pass == 1) {
|
195
|
+
matchFunc = matchPassLongIndex;
|
196
|
+
hltFunc = highlightQuery;
|
197
|
+
} else if (state.pass == 2) {
|
198
|
+
matchFunc = matchPassContains;
|
199
|
+
hltFunc = highlightQuery;
|
200
|
+
} else if (state.pass == 3) {
|
201
|
+
matchFunc = matchPassRegexp;
|
202
|
+
hltFunc = highlightRegexp;
|
203
|
+
}
|
204
|
+
|
205
|
+
for (; togo > 0 && i < l && state.limit > 0; i++, togo--) {
|
206
|
+
if (info[i].n == state.n) continue;
|
207
|
+
if (matchFunc(searchIndex[i], longSearchIndex[i], queries, regexps)) {
|
208
|
+
info[i].n = state.n;
|
209
|
+
result.push(hltFunc(info[i], queries, regexps, highlighters));
|
210
|
+
state.limit--;
|
211
|
+
}
|
212
|
+
};
|
213
|
+
if (searchIndex.length <= i) {
|
214
|
+
state.pass++;
|
215
|
+
i = state.from = 0;
|
216
|
+
} else {
|
217
|
+
state.from = i;
|
218
|
+
}
|
219
|
+
}
|
220
|
+
return result;
|
221
|
+
}
|
222
|
+
|
223
|
+
function triggerResults(results, isLast) {
|
224
|
+
this.handlers.forEach(function(fn) {
|
225
|
+
fn.call(this, results, isLast)
|
226
|
+
});
|
227
|
+
}
|
228
|
+
}
|
229
|
+
|
Binary file
|
@@ -0,0 +1,562 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>Table of Contents - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<script type="text/javascript">
|
10
|
+
var rdoc_rel_prefix = "./";
|
11
|
+
var index_rel_prefix = "./";
|
12
|
+
</script>
|
13
|
+
|
14
|
+
<script src="./js/navigation.js" defer></script>
|
15
|
+
<script src="./js/search.js" defer></script>
|
16
|
+
<script src="./js/search_index.js" defer></script>
|
17
|
+
<script src="./js/searcher.js" defer></script>
|
18
|
+
<script src="./js/darkfish.js" defer></script>
|
19
|
+
|
20
|
+
<link href="./css/fonts.css" rel="stylesheet">
|
21
|
+
<link href="./css/rdoc.css" rel="stylesheet">
|
22
|
+
|
23
|
+
|
24
|
+
<body id="top" class="table-of-contents">
|
25
|
+
<main role="main">
|
26
|
+
<h1 class="class">Table of Contents - RDoc Documentation</h1>
|
27
|
+
|
28
|
+
<h2 id="pages">Pages</h2>
|
29
|
+
<ul>
|
30
|
+
<li class="file">
|
31
|
+
<a href="CODE_OF_CONDUCT_md.html">CODE_OF_CONDUCT</a>
|
32
|
+
|
33
|
+
<ul>
|
34
|
+
<li><a href="CODE_OF_CONDUCT_md.html#label-Contributor+Covenant+Code+of+Conduct">Contributor Covenant Code of Conduct</a>
|
35
|
+
<li><a href="CODE_OF_CONDUCT_md.html#label-Our+Pledge">Our Pledge</a>
|
36
|
+
<li><a href="CODE_OF_CONDUCT_md.html#label-Our+Standards">Our Standards</a>
|
37
|
+
<li><a href="CODE_OF_CONDUCT_md.html#label-Our+Responsibilities">Our Responsibilities</a>
|
38
|
+
<li><a href="CODE_OF_CONDUCT_md.html#label-Scope">Scope</a>
|
39
|
+
<li><a href="CODE_OF_CONDUCT_md.html#label-Enforcement">Enforcement</a>
|
40
|
+
<li><a href="CODE_OF_CONDUCT_md.html#label-Attribution">Attribution</a>
|
41
|
+
</ul>
|
42
|
+
</li>
|
43
|
+
<li class="file">
|
44
|
+
<a href="CODING_GUIDELINES_md.html">CODING_GUIDELINES</a>
|
45
|
+
|
46
|
+
<ul>
|
47
|
+
<li><a href="CODING_GUIDELINES_md.html#label-Coding+Guidelines">Coding Guidelines</a>
|
48
|
+
<li><a href="CODING_GUIDELINES_md.html#label-Language+Guidelines">Language Guidelines</a>
|
49
|
+
<li><a href="CODING_GUIDELINES_md.html#label-Code+Guidelines">Code Guidelines</a>
|
50
|
+
<li><a href="CODING_GUIDELINES_md.html#label-Comment+Guidelines">Comment Guidelines</a>
|
51
|
+
<li><a href="CODING_GUIDELINES_md.html#label-Branching+Guidelines">Branching Guidelines</a>
|
52
|
+
<li><a href="CODING_GUIDELINES_md.html#label-Git+Guidelines">Git Guidelines</a>
|
53
|
+
</ul>
|
54
|
+
</li>
|
55
|
+
<li class="file">
|
56
|
+
<a href="CONTRIBUTING_md.html">CONTRIBUTING</a>
|
57
|
+
|
58
|
+
<ul>
|
59
|
+
<li><a href="CONTRIBUTING_md.html#label-Contributing+to+the+Mercado+Pago+Ruby+SDK">Contributing to the Mercado Pago Ruby SDK</a>
|
60
|
+
<li><a href="CONTRIBUTING_md.html#label-How+to+contribute">How to contribute</a>
|
61
|
+
<li><a href="CONTRIBUTING_md.html#label-Coding+Guidance">Coding Guidance</a>
|
62
|
+
<li><a href="CONTRIBUTING_md.html#label-Request+For+Change+-2F+Feature+Request">Request For Change / Feature Request</a>
|
63
|
+
<li><a href="CONTRIBUTING_md.html#label-Bug+Reports">Bug Reports</a>
|
64
|
+
<li><a href="CONTRIBUTING_md.html#label-Pull+Request">Pull Request</a>
|
65
|
+
</ul>
|
66
|
+
</li>
|
67
|
+
<li class="file">
|
68
|
+
<a href="LICENSE_txt.html">LICENSE</a>
|
69
|
+
</li>
|
70
|
+
<li class="file">
|
71
|
+
<a href="README_md.html">README</a>
|
72
|
+
|
73
|
+
<ul>
|
74
|
+
<li><a href="README_md.html#label-Mercado+Pago+SDK+for+Ruby">Mercado Pago SDK for Ruby</a>
|
75
|
+
<li><a href="README_md.html#label-F0-9F-92-A1+Requirements">💡 Requirements</a>
|
76
|
+
<li><a href="README_md.html#label-F0-9F-93-B2+Installation">📲 Installation</a>
|
77
|
+
<li><a href="README_md.html#label-F0-9F-8C-9F+Getting+Started">🌟 Getting Started</a>
|
78
|
+
<li><a href="README_md.html#label-Simple+usage">Simple usage</a>
|
79
|
+
<li><a href="README_md.html#label-Per-request+configuration">Per-request configuration</a>
|
80
|
+
<li><a href="README_md.html#label-F0-9F-93-9A+Documentation">📚 Documentation</a>
|
81
|
+
<li><a href="README_md.html#label-F0-9F-A4-9D+Contributing">🤝 Contributing</a>
|
82
|
+
<li><a href="README_md.html#label-E2-9D-A4-EF-B8-8F+Support">❤️ Support</a>
|
83
|
+
<li><a href="README_md.html#label-F0-9F-8F-BB+License">🏻 License</a>
|
84
|
+
</ul>
|
85
|
+
</li>
|
86
|
+
</ul>
|
87
|
+
|
88
|
+
<h2 id="classes">Classes and Modules</h2>
|
89
|
+
<ul>
|
90
|
+
<li class="module">
|
91
|
+
<a href="Mercadopago.html">Mercadopago</a>
|
92
|
+
</li>
|
93
|
+
<li class="class">
|
94
|
+
<a href="Mercadopago/AdvancedPayment.html">Mercadopago::AdvancedPayment</a>
|
95
|
+
</li>
|
96
|
+
<li class="class">
|
97
|
+
<a href="Mercadopago/Card.html">Mercadopago::Card</a>
|
98
|
+
</li>
|
99
|
+
<li class="class">
|
100
|
+
<a href="Mercadopago/CardToken.html">Mercadopago::CardToken</a>
|
101
|
+
</li>
|
102
|
+
<li class="class">
|
103
|
+
<a href="Mercadopago/Config.html">Mercadopago::Config</a>
|
104
|
+
</li>
|
105
|
+
<li class="class">
|
106
|
+
<a href="Mercadopago/Customer.html">Mercadopago::Customer</a>
|
107
|
+
</li>
|
108
|
+
<li class="class">
|
109
|
+
<a href="Mercadopago/DisbursementRefund.html">Mercadopago::DisbursementRefund</a>
|
110
|
+
</li>
|
111
|
+
<li class="class">
|
112
|
+
<a href="Mercadopago/HttpClient.html">Mercadopago::HttpClient</a>
|
113
|
+
</li>
|
114
|
+
<li class="class">
|
115
|
+
<a href="Mercadopago/IdentificationType.html">Mercadopago::IdentificationType</a>
|
116
|
+
</li>
|
117
|
+
<li class="class">
|
118
|
+
<a href="Mercadopago/MPBase.html">Mercadopago::MPBase</a>
|
119
|
+
</li>
|
120
|
+
<li class="class">
|
121
|
+
<a href="Mercadopago/MerchantOrder.html">Mercadopago::MerchantOrder</a>
|
122
|
+
</li>
|
123
|
+
<li class="class">
|
124
|
+
<a href="Mercadopago/Payment.html">Mercadopago::Payment</a>
|
125
|
+
</li>
|
126
|
+
<li class="class">
|
127
|
+
<a href="Mercadopago/PaymentMethods.html">Mercadopago::PaymentMethods</a>
|
128
|
+
</li>
|
129
|
+
<li class="class">
|
130
|
+
<a href="Mercadopago/Preference.html">Mercadopago::Preference</a>
|
131
|
+
</li>
|
132
|
+
<li class="class">
|
133
|
+
<a href="Mercadopago/Refund.html">Mercadopago::Refund</a>
|
134
|
+
</li>
|
135
|
+
<li class="class">
|
136
|
+
<a href="Mercadopago/RequestOptions.html">Mercadopago::RequestOptions</a>
|
137
|
+
</li>
|
138
|
+
<li class="class">
|
139
|
+
<a href="Mercadopago/SDK.html">Mercadopago::SDK</a>
|
140
|
+
</li>
|
141
|
+
<li class="class">
|
142
|
+
<a href="Mercadopago/User.html">Mercadopago::User</a>
|
143
|
+
</li>
|
144
|
+
</ul>
|
145
|
+
|
146
|
+
<h2 id="methods">Methods</h2>
|
147
|
+
<ul>
|
148
|
+
|
149
|
+
<li class="method">
|
150
|
+
<a href="Mercadopago/RequestOptions.html#method-c-new">::new</a>
|
151
|
+
—
|
152
|
+
<span class="container">Mercadopago::RequestOptions</span>
|
153
|
+
|
154
|
+
<li class="method">
|
155
|
+
<a href="Mercadopago/MPBase.html#method-c-new">::new</a>
|
156
|
+
—
|
157
|
+
<span class="container">Mercadopago::MPBase</span>
|
158
|
+
|
159
|
+
<li class="method">
|
160
|
+
<a href="Mercadopago/SDK.html#method-c-new">::new</a>
|
161
|
+
—
|
162
|
+
<span class="container">Mercadopago::SDK</span>
|
163
|
+
|
164
|
+
<li class="method">
|
165
|
+
<a href="Mercadopago/MPBase.html#method-i-_check_headers">#_check_headers</a>
|
166
|
+
—
|
167
|
+
<span class="container">Mercadopago::MPBase</span>
|
168
|
+
|
169
|
+
<li class="method">
|
170
|
+
<a href="Mercadopago/MPBase.html#method-i-_check_request_options">#_check_request_options</a>
|
171
|
+
—
|
172
|
+
<span class="container">Mercadopago::MPBase</span>
|
173
|
+
|
174
|
+
<li class="method">
|
175
|
+
<a href="Mercadopago/MPBase.html#method-i-_delete">#_delete</a>
|
176
|
+
—
|
177
|
+
<span class="container">Mercadopago::MPBase</span>
|
178
|
+
|
179
|
+
<li class="method">
|
180
|
+
<a href="Mercadopago/MPBase.html#method-i-_get">#_get</a>
|
181
|
+
—
|
182
|
+
<span class="container">Mercadopago::MPBase</span>
|
183
|
+
|
184
|
+
<li class="method">
|
185
|
+
<a href="Mercadopago/MPBase.html#method-i-_post">#_post</a>
|
186
|
+
—
|
187
|
+
<span class="container">Mercadopago::MPBase</span>
|
188
|
+
|
189
|
+
<li class="method">
|
190
|
+
<a href="Mercadopago/MPBase.html#method-i-_put">#_put</a>
|
191
|
+
—
|
192
|
+
<span class="container">Mercadopago::MPBase</span>
|
193
|
+
|
194
|
+
<li class="method">
|
195
|
+
<a href="Mercadopago/RequestOptions.html#method-i-access_token-3D">#access_token=</a>
|
196
|
+
—
|
197
|
+
<span class="container">Mercadopago::RequestOptions</span>
|
198
|
+
|
199
|
+
<li class="method">
|
200
|
+
<a href="Mercadopago/SDK.html#method-i-access_token-3D">#access_token=</a>
|
201
|
+
—
|
202
|
+
<span class="container">Mercadopago::SDK</span>
|
203
|
+
|
204
|
+
<li class="method">
|
205
|
+
<a href="Mercadopago/SDK.html#method-i-advanced_payment">#advanced_payment</a>
|
206
|
+
—
|
207
|
+
<span class="container">Mercadopago::SDK</span>
|
208
|
+
|
209
|
+
<li class="method">
|
210
|
+
<a href="Mercadopago/Config.html#method-i-api_base_url">#api_base_url</a>
|
211
|
+
—
|
212
|
+
<span class="container">Mercadopago::Config</span>
|
213
|
+
|
214
|
+
<li class="method">
|
215
|
+
<a href="Mercadopago/AdvancedPayment.html#method-i-cancel">#cancel</a>
|
216
|
+
—
|
217
|
+
<span class="container">Mercadopago::AdvancedPayment</span>
|
218
|
+
|
219
|
+
<li class="method">
|
220
|
+
<a href="Mercadopago/AdvancedPayment.html#method-i-capture">#capture</a>
|
221
|
+
—
|
222
|
+
<span class="container">Mercadopago::AdvancedPayment</span>
|
223
|
+
|
224
|
+
<li class="method">
|
225
|
+
<a href="Mercadopago/SDK.html#method-i-card">#card</a>
|
226
|
+
—
|
227
|
+
<span class="container">Mercadopago::SDK</span>
|
228
|
+
|
229
|
+
<li class="method">
|
230
|
+
<a href="Mercadopago/SDK.html#method-i-card_token">#card_token</a>
|
231
|
+
—
|
232
|
+
<span class="container">Mercadopago::SDK</span>
|
233
|
+
|
234
|
+
<li class="method">
|
235
|
+
<a href="Mercadopago/RequestOptions.html#method-i-connection_timeout-3D">#connection_timeout=</a>
|
236
|
+
—
|
237
|
+
<span class="container">Mercadopago::RequestOptions</span>
|
238
|
+
|
239
|
+
<li class="method">
|
240
|
+
<a href="Mercadopago/RequestOptions.html#method-i-corporation_id-3D">#corporation_id=</a>
|
241
|
+
—
|
242
|
+
<span class="container">Mercadopago::RequestOptions</span>
|
243
|
+
|
244
|
+
<li class="method">
|
245
|
+
<a href="Mercadopago/Card.html#method-i-create">#create</a>
|
246
|
+
—
|
247
|
+
<span class="container">Mercadopago::Card</span>
|
248
|
+
|
249
|
+
<li class="method">
|
250
|
+
<a href="Mercadopago/Customer.html#method-i-create">#create</a>
|
251
|
+
—
|
252
|
+
<span class="container">Mercadopago::Customer</span>
|
253
|
+
|
254
|
+
<li class="method">
|
255
|
+
<a href="Mercadopago/CardToken.html#method-i-create">#create</a>
|
256
|
+
—
|
257
|
+
<span class="container">Mercadopago::CardToken</span>
|
258
|
+
|
259
|
+
<li class="method">
|
260
|
+
<a href="Mercadopago/Refund.html#method-i-create">#create</a>
|
261
|
+
—
|
262
|
+
<span class="container">Mercadopago::Refund</span>
|
263
|
+
|
264
|
+
<li class="method">
|
265
|
+
<a href="Mercadopago/Preference.html#method-i-create">#create</a>
|
266
|
+
—
|
267
|
+
<span class="container">Mercadopago::Preference</span>
|
268
|
+
|
269
|
+
<li class="method">
|
270
|
+
<a href="Mercadopago/Payment.html#method-i-create">#create</a>
|
271
|
+
—
|
272
|
+
<span class="container">Mercadopago::Payment</span>
|
273
|
+
|
274
|
+
<li class="method">
|
275
|
+
<a href="Mercadopago/MerchantOrder.html#method-i-create">#create</a>
|
276
|
+
—
|
277
|
+
<span class="container">Mercadopago::MerchantOrder</span>
|
278
|
+
|
279
|
+
<li class="method">
|
280
|
+
<a href="Mercadopago/DisbursementRefund.html#method-i-create">#create</a>
|
281
|
+
—
|
282
|
+
<span class="container">Mercadopago::DisbursementRefund</span>
|
283
|
+
|
284
|
+
<li class="method">
|
285
|
+
<a href="Mercadopago/AdvancedPayment.html#method-i-create">#create</a>
|
286
|
+
—
|
287
|
+
<span class="container">Mercadopago::AdvancedPayment</span>
|
288
|
+
|
289
|
+
<li class="method">
|
290
|
+
<a href="Mercadopago/DisbursementRefund.html#method-i-create_all">#create_all</a>
|
291
|
+
—
|
292
|
+
<span class="container">Mercadopago::DisbursementRefund</span>
|
293
|
+
|
294
|
+
<li class="method">
|
295
|
+
<a href="Mercadopago/RequestOptions.html#method-i-custom_headers-3D">#custom_headers=</a>
|
296
|
+
—
|
297
|
+
<span class="container">Mercadopago::RequestOptions</span>
|
298
|
+
|
299
|
+
<li class="method">
|
300
|
+
<a href="Mercadopago/SDK.html#method-i-customer">#customer</a>
|
301
|
+
—
|
302
|
+
<span class="container">Mercadopago::SDK</span>
|
303
|
+
|
304
|
+
<li class="method">
|
305
|
+
<a href="Mercadopago/Card.html#method-i-delete">#delete</a>
|
306
|
+
—
|
307
|
+
<span class="container">Mercadopago::Card</span>
|
308
|
+
|
309
|
+
<li class="method">
|
310
|
+
<a href="Mercadopago/HttpClient.html#method-i-delete">#delete</a>
|
311
|
+
—
|
312
|
+
<span class="container">Mercadopago::HttpClient</span>
|
313
|
+
|
314
|
+
<li class="method">
|
315
|
+
<a href="Mercadopago/Customer.html#method-i-delete">#delete</a>
|
316
|
+
—
|
317
|
+
<span class="container">Mercadopago::Customer</span>
|
318
|
+
|
319
|
+
<li class="method">
|
320
|
+
<a href="Mercadopago/SDK.html#method-i-disbursement_refund">#disbursement_refund</a>
|
321
|
+
—
|
322
|
+
<span class="container">Mercadopago::SDK</span>
|
323
|
+
|
324
|
+
<li class="method">
|
325
|
+
<a href="Mercadopago/MerchantOrder.html#method-i-get">#get</a>
|
326
|
+
—
|
327
|
+
<span class="container">Mercadopago::MerchantOrder</span>
|
328
|
+
|
329
|
+
<li class="method">
|
330
|
+
<a href="Mercadopago/HttpClient.html#method-i-get">#get</a>
|
331
|
+
—
|
332
|
+
<span class="container">Mercadopago::HttpClient</span>
|
333
|
+
|
334
|
+
<li class="method">
|
335
|
+
<a href="Mercadopago/AdvancedPayment.html#method-i-get">#get</a>
|
336
|
+
—
|
337
|
+
<span class="container">Mercadopago::AdvancedPayment</span>
|
338
|
+
|
339
|
+
<li class="method">
|
340
|
+
<a href="Mercadopago/Card.html#method-i-get">#get</a>
|
341
|
+
—
|
342
|
+
<span class="container">Mercadopago::Card</span>
|
343
|
+
|
344
|
+
<li class="method">
|
345
|
+
<a href="Mercadopago/CardToken.html#method-i-get">#get</a>
|
346
|
+
—
|
347
|
+
<span class="container">Mercadopago::CardToken</span>
|
348
|
+
|
349
|
+
<li class="method">
|
350
|
+
<a href="Mercadopago/Customer.html#method-i-get">#get</a>
|
351
|
+
—
|
352
|
+
<span class="container">Mercadopago::Customer</span>
|
353
|
+
|
354
|
+
<li class="method">
|
355
|
+
<a href="Mercadopago/IdentificationType.html#method-i-get">#get</a>
|
356
|
+
—
|
357
|
+
<span class="container">Mercadopago::IdentificationType</span>
|
358
|
+
|
359
|
+
<li class="method">
|
360
|
+
<a href="Mercadopago/Payment.html#method-i-get">#get</a>
|
361
|
+
—
|
362
|
+
<span class="container">Mercadopago::Payment</span>
|
363
|
+
|
364
|
+
<li class="method">
|
365
|
+
<a href="Mercadopago/PaymentMethods.html#method-i-get">#get</a>
|
366
|
+
—
|
367
|
+
<span class="container">Mercadopago::PaymentMethods</span>
|
368
|
+
|
369
|
+
<li class="method">
|
370
|
+
<a href="Mercadopago/Preference.html#method-i-get">#get</a>
|
371
|
+
—
|
372
|
+
<span class="container">Mercadopago::Preference</span>
|
373
|
+
|
374
|
+
<li class="method">
|
375
|
+
<a href="Mercadopago/User.html#method-i-get">#get</a>
|
376
|
+
—
|
377
|
+
<span class="container">Mercadopago::User</span>
|
378
|
+
|
379
|
+
<li class="method">
|
380
|
+
<a href="Mercadopago/RequestOptions.html#method-i-get_headers">#get_headers</a>
|
381
|
+
—
|
382
|
+
<span class="container">Mercadopago::RequestOptions</span>
|
383
|
+
|
384
|
+
<li class="method">
|
385
|
+
<a href="Mercadopago/SDK.html#method-i-http_client-3D">#http_client=</a>
|
386
|
+
—
|
387
|
+
<span class="container">Mercadopago::SDK</span>
|
388
|
+
|
389
|
+
<li class="method">
|
390
|
+
<a href="Mercadopago/SDK.html#method-i-identification_type">#identification_type</a>
|
391
|
+
—
|
392
|
+
<span class="container">Mercadopago::SDK</span>
|
393
|
+
|
394
|
+
<li class="method">
|
395
|
+
<a href="Mercadopago/RequestOptions.html#method-i-integrator_id-3D">#integrator_id=</a>
|
396
|
+
—
|
397
|
+
<span class="container">Mercadopago::RequestOptions</span>
|
398
|
+
|
399
|
+
<li class="method">
|
400
|
+
<a href="Mercadopago/Card.html#method-i-list">#list</a>
|
401
|
+
—
|
402
|
+
<span class="container">Mercadopago::Card</span>
|
403
|
+
|
404
|
+
<li class="method">
|
405
|
+
<a href="Mercadopago/DisbursementRefund.html#method-i-list">#list</a>
|
406
|
+
—
|
407
|
+
<span class="container">Mercadopago::DisbursementRefund</span>
|
408
|
+
|
409
|
+
<li class="method">
|
410
|
+
<a href="Mercadopago/Refund.html#method-i-list">#list</a>
|
411
|
+
—
|
412
|
+
<span class="container">Mercadopago::Refund</span>
|
413
|
+
|
414
|
+
<li class="method">
|
415
|
+
<a href="Mercadopago/RequestOptions.html#method-i-max_retries-3D">#max_retries=</a>
|
416
|
+
—
|
417
|
+
<span class="container">Mercadopago::RequestOptions</span>
|
418
|
+
|
419
|
+
<li class="method">
|
420
|
+
<a href="Mercadopago/SDK.html#method-i-merchant_order">#merchant_order</a>
|
421
|
+
—
|
422
|
+
<span class="container">Mercadopago::SDK</span>
|
423
|
+
|
424
|
+
<li class="method">
|
425
|
+
<a href="Mercadopago/Config.html#method-i-mime_form">#mime_form</a>
|
426
|
+
—
|
427
|
+
<span class="container">Mercadopago::Config</span>
|
428
|
+
|
429
|
+
<li class="method">
|
430
|
+
<a href="Mercadopago/Config.html#method-i-mime_json">#mime_json</a>
|
431
|
+
—
|
432
|
+
<span class="container">Mercadopago::Config</span>
|
433
|
+
|
434
|
+
<li class="method">
|
435
|
+
<a href="Mercadopago/SDK.html#method-i-payment">#payment</a>
|
436
|
+
—
|
437
|
+
<span class="container">Mercadopago::SDK</span>
|
438
|
+
|
439
|
+
<li class="method">
|
440
|
+
<a href="Mercadopago/SDK.html#method-i-payment_methods">#payment_methods</a>
|
441
|
+
—
|
442
|
+
<span class="container">Mercadopago::SDK</span>
|
443
|
+
|
444
|
+
<li class="method">
|
445
|
+
<a href="Mercadopago/RequestOptions.html#method-i-platform_id-3D">#platform_id=</a>
|
446
|
+
—
|
447
|
+
<span class="container">Mercadopago::RequestOptions</span>
|
448
|
+
|
449
|
+
<li class="method">
|
450
|
+
<a href="Mercadopago/HttpClient.html#method-i-post">#post</a>
|
451
|
+
—
|
452
|
+
<span class="container">Mercadopago::HttpClient</span>
|
453
|
+
|
454
|
+
<li class="method">
|
455
|
+
<a href="Mercadopago/SDK.html#method-i-preference">#preference</a>
|
456
|
+
—
|
457
|
+
<span class="container">Mercadopago::SDK</span>
|
458
|
+
|
459
|
+
<li class="method">
|
460
|
+
<a href="Mercadopago/Config.html#method-i-product_id">#product_id</a>
|
461
|
+
—
|
462
|
+
<span class="container">Mercadopago::Config</span>
|
463
|
+
|
464
|
+
<li class="method">
|
465
|
+
<a href="Mercadopago/HttpClient.html#method-i-put">#put</a>
|
466
|
+
—
|
467
|
+
<span class="container">Mercadopago::HttpClient</span>
|
468
|
+
|
469
|
+
<li class="method">
|
470
|
+
<a href="Mercadopago/SDK.html#method-i-refund">#refund</a>
|
471
|
+
—
|
472
|
+
<span class="container">Mercadopago::SDK</span>
|
473
|
+
|
474
|
+
<li class="method">
|
475
|
+
<a href="Mercadopago/SDK.html#method-i-request_options">#request_options</a>
|
476
|
+
—
|
477
|
+
<span class="container">Mercadopago::SDK</span>
|
478
|
+
|
479
|
+
<li class="method">
|
480
|
+
<a href="Mercadopago/SDK.html#method-i-request_options-3D">#request_options=</a>
|
481
|
+
—
|
482
|
+
<span class="container">Mercadopago::SDK</span>
|
483
|
+
|
484
|
+
<li class="method">
|
485
|
+
<a href="Mercadopago/AdvancedPayment.html#method-i-search">#search</a>
|
486
|
+
—
|
487
|
+
<span class="container">Mercadopago::AdvancedPayment</span>
|
488
|
+
|
489
|
+
<li class="method">
|
490
|
+
<a href="Mercadopago/Payment.html#method-i-search">#search</a>
|
491
|
+
—
|
492
|
+
<span class="container">Mercadopago::Payment</span>
|
493
|
+
|
494
|
+
<li class="method">
|
495
|
+
<a href="Mercadopago/Customer.html#method-i-search">#search</a>
|
496
|
+
—
|
497
|
+
<span class="container">Mercadopago::Customer</span>
|
498
|
+
|
499
|
+
<li class="method">
|
500
|
+
<a href="Mercadopago/MerchantOrder.html#method-i-search">#search</a>
|
501
|
+
—
|
502
|
+
<span class="container">Mercadopago::MerchantOrder</span>
|
503
|
+
|
504
|
+
<li class="method">
|
505
|
+
<a href="Mercadopago/Config.html#method-i-tracking_id">#tracking_id</a>
|
506
|
+
—
|
507
|
+
<span class="container">Mercadopago::Config</span>
|
508
|
+
|
509
|
+
<li class="method">
|
510
|
+
<a href="Mercadopago/Payment.html#method-i-update">#update</a>
|
511
|
+
—
|
512
|
+
<span class="container">Mercadopago::Payment</span>
|
513
|
+
|
514
|
+
<li class="method">
|
515
|
+
<a href="Mercadopago/Customer.html#method-i-update">#update</a>
|
516
|
+
—
|
517
|
+
<span class="container">Mercadopago::Customer</span>
|
518
|
+
|
519
|
+
<li class="method">
|
520
|
+
<a href="Mercadopago/MerchantOrder.html#method-i-update">#update</a>
|
521
|
+
—
|
522
|
+
<span class="container">Mercadopago::MerchantOrder</span>
|
523
|
+
|
524
|
+
<li class="method">
|
525
|
+
<a href="Mercadopago/Preference.html#method-i-update">#update</a>
|
526
|
+
—
|
527
|
+
<span class="container">Mercadopago::Preference</span>
|
528
|
+
|
529
|
+
<li class="method">
|
530
|
+
<a href="Mercadopago/AdvancedPayment.html#method-i-update">#update</a>
|
531
|
+
—
|
532
|
+
<span class="container">Mercadopago::AdvancedPayment</span>
|
533
|
+
|
534
|
+
<li class="method">
|
535
|
+
<a href="Mercadopago/AdvancedPayment.html#method-i-update_release_date">#update_release_date</a>
|
536
|
+
—
|
537
|
+
<span class="container">Mercadopago::AdvancedPayment</span>
|
538
|
+
|
539
|
+
<li class="method">
|
540
|
+
<a href="Mercadopago/SDK.html#method-i-user">#user</a>
|
541
|
+
—
|
542
|
+
<span class="container">Mercadopago::SDK</span>
|
543
|
+
|
544
|
+
<li class="method">
|
545
|
+
<a href="Mercadopago/Config.html#method-i-user_agent">#user_agent</a>
|
546
|
+
—
|
547
|
+
<span class="container">Mercadopago::Config</span>
|
548
|
+
|
549
|
+
<li class="method">
|
550
|
+
<a href="Mercadopago/Config.html#method-i-version">#version</a>
|
551
|
+
—
|
552
|
+
<span class="container">Mercadopago::Config</span>
|
553
|
+
</ul>
|
554
|
+
</main>
|
555
|
+
|
556
|
+
|
557
|
+
<footer id="validator-badges" role="contentinfo">
|
558
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
559
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.0.
|
560
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
561
|
+
</footer>
|
562
|
+
|