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.
Files changed (126) hide show
  1. checksums.yaml +4 -4
  2. data/.editorconfig +10 -0
  3. data/.github/ISSUE_TEMPLATE/bug_report.md +28 -0
  4. data/.github/ISSUE_TEMPLATE/feature_request.md +19 -0
  5. data/.github/workflows/ruby.yml +35 -0
  6. data/.rubocop.yml +1 -0
  7. data/.rubocop_todo.yml +104 -0
  8. data/.ruby-version +1 -0
  9. data/CODE_OF_CONDUCT.md +74 -0
  10. data/CODING_GUIDELINES.md +70 -0
  11. data/CONTRIBUTING.md +57 -0
  12. data/Gemfile +6 -1
  13. data/Gemfile.lock +45 -17
  14. data/LICENSE.txt +21 -0
  15. data/README.md +51 -27
  16. data/Rakefile +3 -1
  17. data/docs/CODE_OF_CONDUCT_md.html +154 -0
  18. data/docs/CODING_GUIDELINES_md.html +188 -0
  19. data/docs/CONTRIBUTING_md.html +165 -0
  20. data/docs/LICENSE_txt.html +96 -0
  21. data/docs/Mercadopago.html +123 -0
  22. data/docs/Mercadopago/AdvancedPayment.html +279 -0
  23. data/docs/Mercadopago/Card.html +204 -0
  24. data/docs/Mercadopago/CardToken.html +160 -0
  25. data/docs/Mercadopago/Config.html +266 -0
  26. data/docs/Mercadopago/Customer.html +228 -0
  27. data/docs/Mercadopago/DisbursementRefund.html +183 -0
  28. data/docs/Mercadopago/HttpClient.html +249 -0
  29. data/docs/Mercadopago/IdentificationType.html +136 -0
  30. data/docs/Mercadopago/MPBase.html +316 -0
  31. data/docs/Mercadopago/MerchantOrder.html +209 -0
  32. data/docs/Mercadopago/Payment.html +208 -0
  33. data/docs/Mercadopago/PaymentMethods.html +136 -0
  34. data/docs/Mercadopago/Preference.html +184 -0
  35. data/docs/Mercadopago/Refund.html +160 -0
  36. data/docs/Mercadopago/RequestOptions.html +433 -0
  37. data/docs/Mercadopago/SDK.html +528 -0
  38. data/docs/Mercadopago/User.html +136 -0
  39. data/docs/README_md.html +181 -0
  40. data/docs/created.rid +25 -0
  41. data/docs/css/fonts.css +167 -0
  42. data/docs/css/rdoc.css +619 -0
  43. data/docs/fonts/Lato-Light.ttf +0 -0
  44. data/docs/fonts/Lato-LightItalic.ttf +0 -0
  45. data/docs/fonts/Lato-Regular.ttf +0 -0
  46. data/docs/fonts/Lato-RegularItalic.ttf +0 -0
  47. data/docs/fonts/SourceCodePro-Bold.ttf +0 -0
  48. data/docs/fonts/SourceCodePro-Regular.ttf +0 -0
  49. data/docs/images/add.png +0 -0
  50. data/docs/images/arrow_up.png +0 -0
  51. data/docs/images/brick.png +0 -0
  52. data/docs/images/brick_link.png +0 -0
  53. data/docs/images/bug.png +0 -0
  54. data/docs/images/bullet_black.png +0 -0
  55. data/docs/images/bullet_toggle_minus.png +0 -0
  56. data/docs/images/bullet_toggle_plus.png +0 -0
  57. data/docs/images/date.png +0 -0
  58. data/docs/images/delete.png +0 -0
  59. data/docs/images/find.png +0 -0
  60. data/docs/images/loadingAnimation.gif +0 -0
  61. data/docs/images/macFFBgHack.png +0 -0
  62. data/docs/images/package.png +0 -0
  63. data/docs/images/page_green.png +0 -0
  64. data/docs/images/page_white_text.png +0 -0
  65. data/docs/images/page_white_width.png +0 -0
  66. data/docs/images/plugin.png +0 -0
  67. data/docs/images/ruby.png +0 -0
  68. data/docs/images/tag_blue.png +0 -0
  69. data/docs/images/tag_green.png +0 -0
  70. data/docs/images/transparent.png +0 -0
  71. data/docs/images/wrench.png +0 -0
  72. data/docs/images/wrench_orange.png +0 -0
  73. data/docs/images/zoom.png +0 -0
  74. data/docs/index.html +109 -0
  75. data/docs/js/darkfish.js +84 -0
  76. data/docs/js/navigation.js +105 -0
  77. data/docs/js/navigation.js.gz +0 -0
  78. data/docs/js/search.js +110 -0
  79. data/docs/js/search_index.js +1 -0
  80. data/docs/js/search_index.js.gz +0 -0
  81. data/docs/js/searcher.js +229 -0
  82. data/docs/js/searcher.js.gz +0 -0
  83. data/docs/table_of_contents.html +562 -0
  84. data/lib/mercadopago.rb +24 -295
  85. data/lib/mercadopago/config/config.rb +42 -0
  86. data/lib/mercadopago/config/request_options.rb +85 -0
  87. data/lib/mercadopago/core/mp_base.rb +77 -0
  88. data/lib/mercadopago/http/http_client.rb +74 -0
  89. data/lib/mercadopago/resources/advanced_payment.rb +48 -0
  90. data/lib/mercadopago/resources/card.rb +31 -0
  91. data/lib/mercadopago/resources/card_token.rb +19 -0
  92. data/lib/mercadopago/resources/customer.rb +36 -0
  93. data/lib/mercadopago/resources/disbursement_refund.rb +24 -0
  94. data/lib/mercadopago/resources/identification_type.rb +13 -0
  95. data/lib/mercadopago/resources/merchant_order.rb +32 -0
  96. data/lib/mercadopago/resources/payment.rb +35 -0
  97. data/lib/mercadopago/resources/payment_methods.rb +13 -0
  98. data/lib/mercadopago/resources/preference.rb +26 -0
  99. data/lib/mercadopago/resources/refund.rb +24 -0
  100. data/lib/mercadopago/resources/user.rb +13 -0
  101. data/lib/mercadopago/sdk.rb +85 -0
  102. data/mercadopago.gemspec +11 -11
  103. data/tests/test_card.rb +79 -0
  104. data/tests/test_card_token.rb +39 -0
  105. data/tests/test_customer.rb +54 -0
  106. data/tests/test_identification_type.rb +16 -0
  107. data/tests/test_merchant_order.rb +94 -0
  108. data/tests/test_payment.rb +102 -0
  109. data/tests/test_payment_methods.rb +14 -0
  110. data/tests/test_preference.rb +49 -0
  111. data/tests/test_refund.rb +88 -0
  112. data/tests/test_user.rb +17 -0
  113. data/tests/tests.rb +12 -56
  114. metadata +127 -24
  115. data/.travis.yml +0 -14
  116. data/examples/checkout-buttons/basic_preference/button.rb +0 -28
  117. data/examples/instant-payment-notifications/receive-ipn.rb +0 -25
  118. data/examples/payment-search/search-approved-payments.rb +0 -23
  119. data/examples/payment-search/search-creditcard-payments.rb +0 -23
  120. data/examples/payment-search/search-funded-payments-by-name.rb +0 -23
  121. data/examples/payment-search/search-payments-from-email-and-date.rb +0 -23
  122. data/examples/payment-search/search-payments.rb +0 -23
  123. data/examples/preapproval-payments/button.rb +0 -42
  124. data/lib/ssl_options_patch.rb +0 -15
  125. data/lib/version.rb +0 -2
  126. data/travis_Gemfile +0 -4
@@ -0,0 +1,136 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class Mercadopago::User - 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" role="document" class="class">
25
+ <nav role="navigation">
26
+ <div id="project-navigation">
27
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
28
+ <h2>
29
+ <a href="../index.html" rel="home">Home</a>
30
+ </h2>
31
+
32
+ <div id="table-of-contents-navigation">
33
+ <a href="../table_of_contents.html#pages">Pages</a>
34
+ <a href="../table_of_contents.html#classes">Classes</a>
35
+ <a href="../table_of_contents.html#methods">Methods</a>
36
+ </div>
37
+ </div>
38
+
39
+ <div id="search-section" role="search" class="project-section initially-hidden">
40
+ <form action="#" method="get" accept-charset="utf-8">
41
+ <div id="search-field-wrapper">
42
+ <input id="search-field" role="combobox" aria-label="Search"
43
+ aria-autocomplete="list" aria-controls="search-results"
44
+ type="text" name="search" placeholder="Search" spellcheck="false"
45
+ title="Type to search, Up and Down to navigate, Enter to load">
46
+ </div>
47
+
48
+ <ul id="search-results" aria-label="Search Results"
49
+ aria-busy="false" aria-expanded="false"
50
+ aria-atomic="false" class="initially-hidden"></ul>
51
+ </form>
52
+ </div>
53
+
54
+ </div>
55
+
56
+
57
+
58
+ <div id="class-metadata">
59
+
60
+
61
+ <div id="parent-class-section" class="nav-section">
62
+ <h3>Parent</h3>
63
+
64
+ <p class="link"><a href="MPBase.html">Mercadopago::MPBase</a>
65
+ </div>
66
+
67
+
68
+
69
+
70
+ <!-- Method Quickref -->
71
+ <div id="method-list-section" class="nav-section">
72
+ <h3>Methods</h3>
73
+
74
+ <ul class="link-list" role="directory">
75
+ <li ><a href="#method-i-get">#get</a>
76
+ </ul>
77
+ </div>
78
+
79
+ </div>
80
+ </nav>
81
+
82
+ <main role="main" aria-labelledby="class-Mercadopago::User">
83
+ <h1 id="class-Mercadopago::User" class="class">
84
+ class Mercadopago::User
85
+ </h1>
86
+
87
+ <section class="description">
88
+
89
+ <p>Access to Users</p>
90
+
91
+ </section>
92
+
93
+ <section id="5Buntitled-5D" class="documentation-section">
94
+
95
+
96
+
97
+
98
+
99
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
100
+ <header>
101
+ <h3>Public Instance Methods</h3>
102
+ </header>
103
+
104
+ <div id="method-i-get" class="method-detail ">
105
+ <div class="method-heading">
106
+ <span class="method-name">get</span><span
107
+ class="method-args">(request_options: nil)</span>
108
+ <span class="method-click-advice">click to toggle source</span>
109
+ </div>
110
+
111
+ <div class="method-description">
112
+
113
+
114
+ <div class="method-source-code" id="get-source">
115
+ <pre><span class="ruby-comment"># File lib/mercadopago/resources/user.rb, line 9</span>
116
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get</span>(<span class="ruby-value">request_options:</span> <span class="ruby-keyword">nil</span>)
117
+ <span class="ruby-identifier">_get</span>(<span class="ruby-value">uri:</span> <span class="ruby-string">&#39;/users/me&#39;</span>, <span class="ruby-value">request_options:</span> <span class="ruby-identifier">request_options</span>)
118
+ <span class="ruby-keyword">end</span></pre>
119
+ </div>
120
+ </div>
121
+
122
+
123
+ </div>
124
+
125
+ </section>
126
+
127
+ </section>
128
+ </main>
129
+
130
+
131
+ <footer id="validator-badges" role="contentinfo">
132
+ <p><a href="https://validator.w3.org/check/referer">Validate</a>
133
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.0.
134
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
135
+ </footer>
136
+
@@ -0,0 +1,181 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>README - 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" role="document" class="file">
25
+ <nav role="navigation">
26
+ <div id="project-navigation">
27
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
28
+ <h2>
29
+ <a href="./index.html" rel="home">Home</a>
30
+ </h2>
31
+
32
+ <div id="table-of-contents-navigation">
33
+ <a href="./table_of_contents.html#pages">Pages</a>
34
+ <a href="./table_of_contents.html#classes">Classes</a>
35
+ <a href="./table_of_contents.html#methods">Methods</a>
36
+ </div>
37
+ </div>
38
+
39
+ <div id="search-section" role="search" class="project-section initially-hidden">
40
+ <form action="#" method="get" accept-charset="utf-8">
41
+ <div id="search-field-wrapper">
42
+ <input id="search-field" role="combobox" aria-label="Search"
43
+ aria-autocomplete="list" aria-controls="search-results"
44
+ type="text" name="search" placeholder="Search" spellcheck="false"
45
+ title="Type to search, Up and Down to navigate, Enter to load">
46
+ </div>
47
+
48
+ <ul id="search-results" aria-label="Search Results"
49
+ aria-busy="false" aria-expanded="false"
50
+ aria-atomic="false" class="initially-hidden"></ul>
51
+ </form>
52
+ </div>
53
+
54
+ </div>
55
+
56
+
57
+ <div class="nav-section">
58
+ <h3>Table of Contents</h3>
59
+
60
+ <ul class="link-list" role="directory">
61
+ <li><a href="#label-Mercado+Pago+SDK+for+Ruby">Mercado Pago SDK for Ruby</a>
62
+ <li><a href="#label-F0-9F-92-A1+Requirements">💡 Requirements</a>
63
+ <li><a href="#label-F0-9F-93-B2+Installation">📲 Installation</a>
64
+ <li><a href="#label-F0-9F-8C-9F+Getting+Started">🌟 Getting Started</a>
65
+ <li><a href="#label-Simple+usage">Simple usage</a>
66
+ <li><a href="#label-Per-request+configuration">Per-request configuration</a>
67
+ <li><a href="#label-F0-9F-93-9A+Documentation">📚 Documentation</a>
68
+ <li><a href="#label-F0-9F-A4-9D+Contributing">🤝 Contributing</a>
69
+ <li><a href="#label-E2-9D-A4-EF-B8-8F+Support">❤️ Support</a>
70
+ <li><a href="#label-F0-9F-8F-BB+License">🏻 License</a>
71
+ </ul>
72
+ </div>
73
+
74
+
75
+ <div id="project-metadata">
76
+
77
+ <div id="fileindex-section" class="nav-section">
78
+ <h3>Pages</h3>
79
+
80
+ <ul class="link-list">
81
+ <li><a href="./CODE_OF_CONDUCT_md.html">CODE_OF_CONDUCT</a>
82
+ <li><a href="./CODING_GUIDELINES_md.html">CODING_GUIDELINES</a>
83
+ <li><a href="./CONTRIBUTING_md.html">CONTRIBUTING</a>
84
+ <li><a href="./LICENSE_txt.html">LICENSE</a>
85
+ <li><a href="./README_md.html">README</a>
86
+ </ul>
87
+ </div>
88
+
89
+ </div>
90
+ </nav>
91
+
92
+ <main role="main" aria-label="Page README.md">
93
+
94
+ <h1 id="label-Mercado+Pago+SDK+for+Ruby">Mercado Pago SDK for Ruby<span><a href="#label-Mercado+Pago+SDK+for+Ruby">&para;</a> <a href="#top">&uarr;</a></span></h1>
95
+
96
+ <p><a href="https://rubygems.org/gems/mercadopago-sdk"><img src="https://img.shields.io/gem/v/mercadopago-sdk"></a> <a href="https://rubygems.org/gems/mercadopago-sdk"><img src="https://img.shields.io/gem/dt/mercadopago-sdk"></a> <a href="https://github.com/mercadopago/sdk-ruby"><img src="https://img.shields.io/apm/l/vim-mode"></a></p>
97
+
98
+ <p>This library provides developers with a simple set of bindings to help you integrate Mercado Pago API to a website and start receiving payments.</p>
99
+
100
+ <h2 id="label-F0-9F-92-A1+Requirements">💡 Requirements<span><a href="#label-F0-9F-92-A1+Requirements">&para;</a> <a href="#top">&uarr;</a></span></h2>
101
+
102
+ <p>Ruby version <strong>2.3 or greater</strong>.</p>
103
+
104
+ <h2 id="label-F0-9F-93-B2+Installation">📲 Installation<span><a href="#label-F0-9F-93-B2+Installation">&para;</a> <a href="#top">&uarr;</a></span></h2>
105
+
106
+ <p>Run <code>gem install mercadopago-sdk</code></p>
107
+
108
+ <h2 id="label-F0-9F-8C-9F+Getting+Started">🌟 Getting Started<span><a href="#label-F0-9F-8C-9F+Getting+Started">&para;</a> <a href="#top">&uarr;</a></span></h2>
109
+
110
+ <p>First time using Mercado Pago? Create your <a href="https://www.mercadopago.com">Mercado Pago account</a>.</p>
111
+
112
+ <p>Copy your <code>Access Token</code> in the <a href="https://www.mercadopago.com/developers/panel/credentials">credentials panel</a> and replace the text <code>YOUR_ACCESS_TOKEN</code> with it.</p>
113
+
114
+ <h3 id="label-Simple+usage">Simple usage<span><a href="#label-Simple+usage">&para;</a> <a href="#top">&uarr;</a></span></h3>
115
+
116
+ <p>To generate a <code>card token</code> read the <a href="https://www.mercadopago.com/developers/en/guides/online-payments/checkout-api/introduction">Checkout API</a> documentation.</p>
117
+
118
+ <pre class="ruby"><span class="ruby-identifier">require</span> <span class="ruby-string">&#39;mercadopago&#39;</span>
119
+
120
+ <span class="ruby-identifier">sdk</span> = <span class="ruby-constant">Mercadopago</span><span class="ruby-operator">::</span><span class="ruby-constant">SDK</span>.<span class="ruby-identifier">new</span>(<span class="ruby-string">&#39;YOUR_ACCESS_TOKEN&#39;</span>)
121
+
122
+ <span class="ruby-identifier">payment_data</span> = {
123
+ <span class="ruby-value">transaction_amount:</span> <span class="ruby-value">100</span>,
124
+ <span class="ruby-value">token:</span> <span class="ruby-string">&#39;CARD_TOKEN&#39;</span>,
125
+ <span class="ruby-value">description:</span> <span class="ruby-string">&#39;Payment description&#39;</span>,
126
+ <span class="ruby-value">payment_method_id:</span> <span class="ruby-string">&#39;visa&#39;</span>,
127
+ <span class="ruby-value">installments:</span> <span class="ruby-value">1</span>,
128
+ <span class="ruby-value">payer:</span> {
129
+ <span class="ruby-value">email:</span> <span class="ruby-string">&#39;test_user_123456@testuser.com&#39;</span>
130
+ }
131
+ }
132
+ <span class="ruby-identifier">result</span> = <span class="ruby-identifier">sdk</span>.<span class="ruby-identifier">payment</span>.<span class="ruby-identifier">create</span>(<span class="ruby-identifier">payment_data</span>)
133
+ <span class="ruby-identifier">payment</span> = <span class="ruby-identifier">result</span>[<span class="ruby-value">:response</span>]
134
+
135
+ <span class="ruby-identifier">puts</span> <span class="ruby-identifier">payment</span>
136
+ </pre>
137
+
138
+ <h3 id="label-Per-request+configuration">Per-request configuration<span><a href="#label-Per-request+configuration">&para;</a> <a href="#top">&uarr;</a></span></h3>
139
+
140
+ <p>All methods that make API calls accept an optional <code>RequestOptions</code> object. This can be used to configure some special options of the request, such as changing credentials or custom headers.</p>
141
+
142
+ <pre class="ruby"><span class="ruby-identifier">require</span> <span class="ruby-string">&#39;mercadopago&#39;</span>
143
+
144
+ <span class="ruby-identifier">request_options</span> = <span class="ruby-constant">Mercadopago</span><span class="ruby-operator">::</span><span class="ruby-constant">RequestOptions</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">access_token:</span> <span class="ruby-string">&#39;YOUR_ACCESS_TOKEN&#39;</span>)
145
+ <span class="ruby-comment"># ...</span>
146
+
147
+ <span class="ruby-identifier">result</span> = <span class="ruby-identifier">sdk</span>.<span class="ruby-identifier">payment</span>.<span class="ruby-identifier">create</span>(<span class="ruby-identifier">payment_data</span>, <span class="ruby-value">request_options:</span> <span class="ruby-identifier">request_options</span>)
148
+ <span class="ruby-identifier">payment</span> = <span class="ruby-identifier">result</span>[<span class="ruby-value">:response</span>]
149
+ </pre>
150
+
151
+ <h2 id="label-F0-9F-93-9A+Documentation">📚 Documentation<span><a href="#label-F0-9F-93-9A+Documentation">&para;</a> <a href="#top">&uarr;</a></span></h2>
152
+
153
+ <p>Visit our Dev Site for further information regarding: - <a href="https://www.mercadopago.com/developers/en/reference">APIs</a> - <a href="https://www.mercadopago.com/developers/en/guides/online-payments/checkout-pro/introduction">Checkout Pro</a> - <a href="https://www.mercadopago.com/developers/en/guides/online-payments/checkout-api/introduction">Checkout API</a> - <a href="https://www.mercadopago.com/developers/en/guides/online-payments/web-tokenize-checkout/introduction">Web Tokenize Checkout</a></p>
154
+
155
+ <p>Check our official code reference to explore all available functionalities.</p>
156
+
157
+ <h2 id="label-F0-9F-A4-9D+Contributing">🤝 Contributing<span><a href="#label-F0-9F-A4-9D+Contributing">&para;</a> <a href="#top">&uarr;</a></span></h2>
158
+
159
+ <p>All contributions are welcome, ranging from people wanting to triage issues, others wanting to write documentation, to people wanting to contribute code.</p>
160
+
161
+ <p>Please read and follow our <a href="CONTRIBUTING.md">contribution guidelines</a>. Contributions not following this guidelines will be disregarded. The guidelines are in place to make all of our lives easier and make contribution a consistent process for everyone.</p>
162
+
163
+ <h2 id="label-E2-9D-A4-EF-B8-8F+Support">❤️ Support<span><a href="#label-E2-9D-A4-EF-B8-8F+Support">&para;</a> <a href="#top">&uarr;</a></span></h2>
164
+
165
+ <p>If you require technical support, please contact our support team at <a href="https://developers.mercadopago.com">developers.mercadopago.com</a>.</p>
166
+
167
+ <h2 id="label-F0-9F-8F-BB+License">🏻 License<span><a href="#label-F0-9F-8F-BB+License">&para;</a> <a href="#top">&uarr;</a></span></h2>
168
+
169
+ <pre>MIT license. Copyright (c) 2021 - Mercado Pago / Mercado Libre
170
+ For more information, see the LICENSE file.</pre>
171
+
172
+ </main>
173
+
174
+
175
+
176
+ <footer id="validator-badges" role="contentinfo">
177
+ <p><a href="https://validator.w3.org/check/referer">Validate</a>
178
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.0.
179
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
180
+ </footer>
181
+
data/docs/created.rid ADDED
@@ -0,0 +1,25 @@
1
+ Mon, 22 Mar 2021 12:01:51 -0300
2
+ CODE_OF_CONDUCT.md Tue, 16 Mar 2021 08:22:05 -0300
3
+ mercadopago-sdk-2.0.0.gem Tue, 16 Mar 2021 08:26:19 -0300
4
+ README.md Mon, 22 Mar 2021 10:59:38 -0300
5
+ CONTRIBUTING.md Mon, 22 Mar 2021 10:28:39 -0300
6
+ lib/mercadopago/core/mp_base.rb Mon, 15 Mar 2021 14:37:53 -0300
7
+ lib/mercadopago/config/request_options.rb Wed, 17 Mar 2021 09:12:20 -0300
8
+ lib/mercadopago/config/config.rb Mon, 15 Mar 2021 09:05:43 -0300
9
+ lib/mercadopago/resources/payment.rb Wed, 17 Mar 2021 08:50:55 -0300
10
+ lib/mercadopago/resources/refund.rb Wed, 17 Mar 2021 08:52:40 -0300
11
+ lib/mercadopago/resources/identification_type.rb Mon, 15 Mar 2021 09:05:43 -0300
12
+ lib/mercadopago/resources/merchant_order.rb Wed, 17 Mar 2021 08:50:18 -0300
13
+ lib/mercadopago/resources/customer.rb Wed, 17 Mar 2021 08:49:34 -0300
14
+ lib/mercadopago/resources/disbursement_refund.rb Wed, 17 Mar 2021 08:41:31 -0300
15
+ lib/mercadopago/resources/card.rb Wed, 17 Mar 2021 08:49:08 -0300
16
+ lib/mercadopago/resources/payment_methods.rb Mon, 15 Mar 2021 09:05:43 -0300
17
+ lib/mercadopago/resources/card_token.rb Wed, 17 Mar 2021 08:48:21 -0300
18
+ lib/mercadopago/resources/preference.rb Wed, 17 Mar 2021 08:51:15 -0300
19
+ lib/mercadopago/resources/user.rb Mon, 15 Mar 2021 09:05:43 -0300
20
+ lib/mercadopago/resources/advanced_payment.rb Wed, 17 Mar 2021 09:28:02 -0300
21
+ lib/mercadopago/http/http_client.rb Wed, 17 Mar 2021 09:35:21 -0300
22
+ lib/mercadopago/sdk.rb Tue, 16 Mar 2021 16:47:42 -0300
23
+ lib/mercadopago.rb Tue, 16 Mar 2021 16:46:49 -0300
24
+ LICENSE.txt Tue, 16 Mar 2021 08:22:30 -0300
25
+ CODING_GUIDELINES.md Mon, 22 Mar 2021 10:32:48 -0300
@@ -0,0 +1,167 @@
1
+ /*
2
+ * Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/),
3
+ * with Reserved Font Name "Source". All Rights Reserved. Source is a
4
+ * trademark of Adobe Systems Incorporated in the United States and/or other
5
+ * countries.
6
+ *
7
+ * This Font Software is licensed under the SIL Open Font License, Version
8
+ * 1.1.
9
+ *
10
+ * This license is copied below, and is also available with a FAQ at:
11
+ * http://scripts.sil.org/OFL
12
+ */
13
+
14
+ @font-face {
15
+ font-family: "Source Code Pro";
16
+ font-style: normal;
17
+ font-weight: 400;
18
+ src: local("Source Code Pro"),
19
+ local("SourceCodePro-Regular"),
20
+ url("../fonts/SourceCodePro-Regular.ttf") format("truetype");
21
+ }
22
+
23
+ @font-face {
24
+ font-family: "Source Code Pro";
25
+ font-style: normal;
26
+ font-weight: 700;
27
+ src: local("Source Code Pro Bold"),
28
+ local("SourceCodePro-Bold"),
29
+ url("../fonts/SourceCodePro-Bold.ttf") format("truetype");
30
+ }
31
+
32
+ /*
33
+ * Copyright (c) 2010, Łukasz Dziedzic (dziedzic@typoland.com),
34
+ * with Reserved Font Name Lato.
35
+ *
36
+ * This Font Software is licensed under the SIL Open Font License, Version
37
+ * 1.1.
38
+ *
39
+ * This license is copied below, and is also available with a FAQ at:
40
+ * http://scripts.sil.org/OFL
41
+ */
42
+
43
+ @font-face {
44
+ font-family: "Lato";
45
+ font-style: normal;
46
+ font-weight: 300;
47
+ src: local("Lato Light"),
48
+ local("Lato-Light"),
49
+ url("../fonts/Lato-Light.ttf") format("truetype");
50
+ }
51
+
52
+ @font-face {
53
+ font-family: "Lato";
54
+ font-style: italic;
55
+ font-weight: 300;
56
+ src: local("Lato Light Italic"),
57
+ local("Lato-LightItalic"),
58
+ url("../fonts/Lato-LightItalic.ttf") format("truetype");
59
+ }
60
+
61
+ @font-face {
62
+ font-family: "Lato";
63
+ font-style: normal;
64
+ font-weight: 700;
65
+ src: local("Lato Regular"),
66
+ local("Lato-Regular"),
67
+ url("../fonts/Lato-Regular.ttf") format("truetype");
68
+ }
69
+
70
+ @font-face {
71
+ font-family: "Lato";
72
+ font-style: italic;
73
+ font-weight: 700;
74
+ src: local("Lato Italic"),
75
+ local("Lato-Italic"),
76
+ url("../fonts/Lato-RegularItalic.ttf") format("truetype");
77
+ }
78
+
79
+ /*
80
+ * -----------------------------------------------------------
81
+ * SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
82
+ * -----------------------------------------------------------
83
+ *
84
+ * PREAMBLE
85
+ * The goals of the Open Font License (OFL) are to stimulate worldwide
86
+ * development of collaborative font projects, to support the font creation
87
+ * efforts of academic and linguistic communities, and to provide a free and
88
+ * open framework in which fonts may be shared and improved in partnership
89
+ * with others.
90
+ *
91
+ * The OFL allows the licensed fonts to be used, studied, modified and
92
+ * redistributed freely as long as they are not sold by themselves. The
93
+ * fonts, including any derivative works, can be bundled, embedded,
94
+ * redistributed and/or sold with any software provided that any reserved
95
+ * names are not used by derivative works. The fonts and derivatives,
96
+ * however, cannot be released under any other type of license. The
97
+ * requirement for fonts to remain under this license does not apply
98
+ * to any document created using the fonts or their derivatives.
99
+ *
100
+ * DEFINITIONS
101
+ * "Font Software" refers to the set of files released by the Copyright
102
+ * Holder(s) under this license and clearly marked as such. This may
103
+ * include source files, build scripts and documentation.
104
+ *
105
+ * "Reserved Font Name" refers to any names specified as such after the
106
+ * copyright statement(s).
107
+ *
108
+ * "Original Version" refers to the collection of Font Software components as
109
+ * distributed by the Copyright Holder(s).
110
+ *
111
+ * "Modified Version" refers to any derivative made by adding to, deleting,
112
+ * or substituting -- in part or in whole -- any of the components of the
113
+ * Original Version, by changing formats or by porting the Font Software to a
114
+ * new environment.
115
+ *
116
+ * "Author" refers to any designer, engineer, programmer, technical
117
+ * writer or other person who contributed to the Font Software.
118
+ *
119
+ * PERMISSION & CONDITIONS
120
+ * Permission is hereby granted, free of charge, to any person obtaining
121
+ * a copy of the Font Software, to use, study, copy, merge, embed, modify,
122
+ * redistribute, and sell modified and unmodified copies of the Font
123
+ * Software, subject to the following conditions:
124
+ *
125
+ * 1) Neither the Font Software nor any of its individual components,
126
+ * in Original or Modified Versions, may be sold by itself.
127
+ *
128
+ * 2) Original or Modified Versions of the Font Software may be bundled,
129
+ * redistributed and/or sold with any software, provided that each copy
130
+ * contains the above copyright notice and this license. These can be
131
+ * included either as stand-alone text files, human-readable headers or
132
+ * in the appropriate machine-readable metadata fields within text or
133
+ * binary files as long as those fields can be easily viewed by the user.
134
+ *
135
+ * 3) No Modified Version of the Font Software may use the Reserved Font
136
+ * Name(s) unless explicit written permission is granted by the corresponding
137
+ * Copyright Holder. This restriction only applies to the primary font name as
138
+ * presented to the users.
139
+ *
140
+ * 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
141
+ * Software shall not be used to promote, endorse or advertise any
142
+ * Modified Version, except to acknowledge the contribution(s) of the
143
+ * Copyright Holder(s) and the Author(s) or with their explicit written
144
+ * permission.
145
+ *
146
+ * 5) The Font Software, modified or unmodified, in part or in whole,
147
+ * must be distributed entirely under this license, and must not be
148
+ * distributed under any other license. The requirement for fonts to
149
+ * remain under this license does not apply to any document created
150
+ * using the Font Software.
151
+ *
152
+ * TERMINATION
153
+ * This license becomes null and void if any of the above conditions are
154
+ * not met.
155
+ *
156
+ * DISCLAIMER
157
+ * THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
158
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
159
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
160
+ * OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
161
+ * COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
162
+ * INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
163
+ * DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
164
+ * FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
165
+ * OTHER DEALINGS IN THE FONT SOFTWARE.
166
+ */
167
+