fattura24 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/docs/Fattura24.html +7 -45
- data/docs/Fattura24/Api.html +5 -147
- data/docs/Fattura24/Api/Response.html +8 -100
- data/docs/Fattura24/Configuration.html +7 -33
- data/docs/Fattura24/DocumentType.html +2 -25
- data/docs/Fattura24/Error.html +4 -11
- data/docs/Fattura24/FePaymentCode.html +108 -0
- data/docs/Fattura24/InvalidParams.html +4 -11
- data/docs/Fattura24/MissingApiKey.html +7 -28
- data/docs/Fattura24/MissingInput.html +4 -11
- data/docs/Fattura24/NotSerializable.html +4 -11
- data/docs/Fattura24/Utils.html +5 -51
- data/docs/README_md.html +5 -5
- data/docs/created.rid +11 -10
- data/docs/css/rdoc.css +1 -1
- data/docs/index.html +6 -18
- data/docs/js/navigation.js.gz +0 -0
- data/docs/js/search_index.js +1 -1
- data/docs/js/search_index.js.gz +0 -0
- data/docs/js/searcher.js.gz +0 -0
- data/docs/table_of_contents.html +4 -3
- data/fattura24.gemspec +2 -0
- data/lib/fattura24.rb +1 -0
- data/lib/fattura24/fe_payment_code.rb +14 -0
- data/lib/fattura24/version.rb +1 -1
- metadata +6 -4
data/docs/README_md.html
CHANGED
@@ -21,7 +21,6 @@
|
|
21
21
|
<link href="./css/rdoc.css" rel="stylesheet">
|
22
22
|
|
23
23
|
|
24
|
-
|
25
24
|
<body id="top" role="document" class="file">
|
26
25
|
<nav role="navigation">
|
27
26
|
<div id="project-navigation">
|
@@ -77,13 +76,12 @@
|
|
77
76
|
|
78
77
|
|
79
78
|
<div id="project-metadata">
|
80
|
-
|
79
|
+
|
80
|
+
<div id="fileindex-section" class="nav-section">
|
81
81
|
<h3>Pages</h3>
|
82
82
|
|
83
83
|
<ul class="link-list">
|
84
|
-
|
85
84
|
<li><a href="./README_md.html">README</a>
|
86
|
-
|
87
85
|
</ul>
|
88
86
|
</div>
|
89
87
|
|
@@ -178,6 +176,7 @@
|
|
178
176
|
<span class="ruby-value">customer_address:</span> <span class="ruby-string">'100 Yonge Street'</span>,
|
179
177
|
<span class="ruby-value">customer_city:</span> <span class="ruby-string">'Toronto'</span>,
|
180
178
|
<span class="ruby-value">customer_country:</span> <span class="ruby-string">'CA'</span>,
|
179
|
+
<span class="ruby-value">fe_payment_code:</span> <span class="ruby-constant">Fattura24</span><span class="ruby-operator">::</span><span class="ruby-constant">FePaymentCode</span><span class="ruby-operator">::</span><span class="ruby-constant">CREDIT_CARD</span>,
|
181
180
|
<span class="ruby-value">payments:</span> [
|
182
181
|
{
|
183
182
|
<span class="ruby-value">date:</span> <span class="ruby-string">'2020-04-27'</span>,
|
@@ -261,13 +260,14 @@
|
|
261
260
|
<h2 id="label-License">License<span><a href="#label-License">¶</a> <a href="#top">↑</a></span></h2>
|
262
261
|
|
263
262
|
<p>The gem is available as open source under the terms of the <a href="https://opensource.org/licenses/MIT">MIT License</a>.</p>
|
263
|
+
|
264
264
|
</main>
|
265
265
|
|
266
266
|
|
267
267
|
|
268
268
|
<footer id="validator-badges" role="contentinfo">
|
269
269
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
270
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
270
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.0.
|
271
271
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
272
272
|
</footer>
|
273
273
|
|
data/docs/created.rid
CHANGED
@@ -1,10 +1,11 @@
|
|
1
|
-
|
2
|
-
README.md
|
3
|
-
lib/fattura24.rb
|
4
|
-
lib/fattura24/api/client.rb
|
5
|
-
lib/fattura24/api/response.rb
|
6
|
-
lib/fattura24/configuration.rb
|
7
|
-
lib/fattura24/document_type.rb
|
8
|
-
lib/fattura24/errors.rb
|
9
|
-
lib/fattura24/
|
10
|
-
lib/fattura24/
|
1
|
+
Sun, 11 Apr 2021 02:05:39 -0000
|
2
|
+
README.md Sat, 10 Apr 2021 22:05:04 -0400
|
3
|
+
lib/fattura24.rb Sat, 10 Apr 2021 22:01:59 -0400
|
4
|
+
lib/fattura24/api/client.rb Sat, 10 Apr 2021 20:40:44 -0400
|
5
|
+
lib/fattura24/api/response.rb Sat, 10 Apr 2021 20:40:44 -0400
|
6
|
+
lib/fattura24/configuration.rb Sat, 10 Apr 2021 20:40:44 -0400
|
7
|
+
lib/fattura24/document_type.rb Sat, 10 Apr 2021 20:40:44 -0400
|
8
|
+
lib/fattura24/errors.rb Sat, 10 Apr 2021 20:40:44 -0400
|
9
|
+
lib/fattura24/fe_payment_code.rb Sat, 10 Apr 2021 22:01:59 -0400
|
10
|
+
lib/fattura24/utils.rb Sat, 10 Apr 2021 20:40:44 -0400
|
11
|
+
lib/fattura24/version.rb Sat, 10 Apr 2021 20:40:44 -0400
|
data/docs/css/rdoc.css
CHANGED
data/docs/index.html
CHANGED
@@ -21,7 +21,6 @@
|
|
21
21
|
<link href="./css/rdoc.css" rel="stylesheet">
|
22
22
|
|
23
23
|
|
24
|
-
|
25
24
|
<body id="top" role="document" class="file">
|
26
25
|
<nav role="navigation">
|
27
26
|
<div id="project-navigation">
|
@@ -56,13 +55,12 @@
|
|
56
55
|
</div>
|
57
56
|
|
58
57
|
<div id="project-metadata">
|
59
|
-
|
58
|
+
|
59
|
+
<div id="fileindex-section" class="nav-section">
|
60
60
|
<h3>Pages</h3>
|
61
61
|
|
62
62
|
<ul class="link-list">
|
63
|
-
|
64
63
|
<li><a href="./README_md.html">README</a>
|
65
|
-
|
66
64
|
</ul>
|
67
65
|
</div>
|
68
66
|
|
@@ -70,29 +68,18 @@
|
|
70
68
|
<h3>Class and Module Index</h3>
|
71
69
|
|
72
70
|
<ul class="link-list">
|
73
|
-
|
74
71
|
<li><a href="./Fattura24.html">Fattura24</a>
|
75
|
-
|
76
72
|
<li><a href="./Fattura24/Api.html">Fattura24::Api</a>
|
77
|
-
|
78
73
|
<li><a href="./Fattura24/Api/Response.html">Fattura24::Api::Response</a>
|
79
|
-
|
80
74
|
<li><a href="./Fattura24/Configuration.html">Fattura24::Configuration</a>
|
81
|
-
|
82
75
|
<li><a href="./Fattura24/DocumentType.html">Fattura24::DocumentType</a>
|
83
|
-
|
84
76
|
<li><a href="./Fattura24/Error.html">Fattura24::Error</a>
|
85
|
-
|
77
|
+
<li><a href="./Fattura24/FePaymentCode.html">Fattura24::FePaymentCode</a>
|
86
78
|
<li><a href="./Fattura24/InvalidParams.html">Fattura24::InvalidParams</a>
|
87
|
-
|
88
79
|
<li><a href="./Fattura24/MissingApiKey.html">Fattura24::MissingApiKey</a>
|
89
|
-
|
90
80
|
<li><a href="./Fattura24/MissingInput.html">Fattura24::MissingInput</a>
|
91
|
-
|
92
81
|
<li><a href="./Fattura24/NotSerializable.html">Fattura24::NotSerializable</a>
|
93
|
-
|
94
82
|
<li><a href="./Fattura24/Utils.html">Fattura24::Utils</a>
|
95
|
-
|
96
83
|
</ul>
|
97
84
|
</div>
|
98
85
|
|
@@ -188,6 +175,7 @@
|
|
188
175
|
<span class="ruby-value">customer_address:</span> <span class="ruby-string">'100 Yonge Street'</span>,
|
189
176
|
<span class="ruby-value">customer_city:</span> <span class="ruby-string">'Toronto'</span>,
|
190
177
|
<span class="ruby-value">customer_country:</span> <span class="ruby-string">'CA'</span>,
|
178
|
+
<span class="ruby-value">fe_payment_code:</span> <span class="ruby-constant">Fattura24</span><span class="ruby-operator">::</span><span class="ruby-constant">FePaymentCode</span><span class="ruby-operator">::</span><span class="ruby-constant">CREDIT_CARD</span>,
|
191
179
|
<span class="ruby-value">payments:</span> [
|
192
180
|
{
|
193
181
|
<span class="ruby-value">date:</span> <span class="ruby-string">'2020-04-27'</span>,
|
@@ -271,13 +259,13 @@
|
|
271
259
|
<h2 id="label-License">License<span><a href="#label-License">¶</a> <a href="#top">↑</a></span></h2>
|
272
260
|
|
273
261
|
<p>The gem is available as open source under the terms of the <a href="https://opensource.org/licenses/MIT">MIT License</a>.</p>
|
274
|
-
</main>
|
275
262
|
|
263
|
+
</main>
|
276
264
|
|
277
265
|
|
278
266
|
<footer id="validator-badges" role="contentinfo">
|
279
267
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
280
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
268
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.0.
|
281
269
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
282
270
|
</footer>
|
283
271
|
|
data/docs/js/navigation.js.gz
CHANGED
Binary file
|
data/docs/js/search_index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var search_data = {"index":{"searchIndex":["fattura24","api","response","configuration","documenttype","error","invalidparams","missingapikey","missinginput","notserializable","utils","code()","configuration()","configure()","crush()","crush_array()","crush_hash()","get_file()","get_numerator()","get_pdc()","get_product()","get_template()","message()","new()","new()","pdf?()","request()","save_customer()","save_document()","save_item()","success?()","test_key()","to_h()","to_s()","readme"],"longSearchIndex":["fattura24","fattura24::api","fattura24::api::response","fattura24::configuration","fattura24::documenttype","fattura24::error","fattura24::invalidparams","fattura24::missingapikey","fattura24::missinginput","fattura24::notserializable","fattura24::utils","fattura24::api::response#code()","fattura24::configuration()","fattura24::configure()","fattura24::utils::crush()","fattura24::utils::crush_array()","fattura24::utils::crush_hash()","fattura24::api::get_file()","fattura24::api::get_numerator()","fattura24::api::get_pdc()","fattura24::api::get_product()","fattura24::api::get_template()","fattura24::missingapikey#message()","fattura24::api::response::new()","fattura24::configuration::new()","fattura24::api::response#pdf?()","fattura24::api::request()","fattura24::api::save_customer()","fattura24::api::save_document()","fattura24::api::save_item()","fattura24::api::response#success?()","fattura24::api::test_key()","fattura24::api::response#to_h()","fattura24::api::response#to_s()",""],"info":[["Fattura24","","Fattura24.html","",""],["Fattura24::Api","","Fattura24/Api.html","",""],["Fattura24::Api::Response","","Fattura24/Api/Response.html","","<p>An instance of this class will be returned on every api call, wrapping the content of the response and …\n"],["Fattura24::Configuration","","Fattura24/Configuration.html","",""],["Fattura24::DocumentType","","Fattura24/DocumentType.html","","<p>This module contains constants to be used when creating documents/credits.\n"],["Fattura24::Error","","Fattura24/Error.html","",""],["Fattura24::InvalidParams","","Fattura24/InvalidParams.html","",""],["Fattura24::MissingApiKey","","Fattura24/MissingApiKey.html","","<p>Thrown when trying to perform any request on the api without a key set in configuration\n"],["Fattura24::MissingInput","","Fattura24/MissingInput.html","",""],["Fattura24::NotSerializable","","Fattura24/NotSerializable.html","",""],["Fattura24::Utils","","Fattura24/Utils.html","",""],["code","Fattura24::Api::Response","Fattura24/Api/Response.html#method-i-code","()","<p>Returns the <code>Integer</code> value of the underlying http request. It does not mean the request performed it's …\n"],["configuration","Fattura24","Fattura24.html#method-c-configuration","()","<p>Returns current configuration object\n"],["configure","Fattura24","Fattura24.html#method-c-configure","()","<p>Calling this method will yield to a block passing the <code>configuration</code> object as parameter.\n"],["crush","Fattura24::Utils","Fattura24/Utils.html#method-c-crush","(obj)","<p>This function deeply removes any nil object/value from objects.\n"],["crush_array","Fattura24::Utils","Fattura24/Utils.html#method-c-crush_array","(array)","<p>Deeply removes any nil value from arrays.\n"],["crush_hash","Fattura24::Utils","Fattura24/Utils.html#method-c-crush_hash","(hash)","<p>Deeply removes any nil value from hashes.\n"],["get_file","Fattura24::Api","Fattura24/Api.html#method-c-get_file","(id)","<p>Donwloads a pdf file for an existing document. Requires an existing document id, throws MissingInput …\n"],["get_numerator","Fattura24::Api","Fattura24/Api.html#method-c-get_numerator","()","<p>Gets numerator list. Returns a Response object.\n"],["get_pdc","Fattura24::Api","Fattura24/Api.html#method-c-get_pdc","()","<p>Gets 'piano dei conti' Returns a Response object.\n"],["get_product","Fattura24::Api","Fattura24/Api.html#method-c-get_product","(options = {})","<p>Gets a list of products. You can pass a Hash containing a <code>code</code> or <code>category</code> to filter your existing products …\n"],["get_template","Fattura24::Api","Fattura24/Api.html#method-c-get_template","()","<p>Gets a list of document templates. Returns a Response object.\n"],["message","Fattura24::MissingApiKey","Fattura24/MissingApiKey.html#method-i-message","()",""],["new","Fattura24::Api::Response","Fattura24/Api/Response.html#method-c-new","(http_response)",""],["new","Fattura24::Configuration","Fattura24/Configuration.html#method-c-new","()",""],["pdf?","Fattura24::Api::Response","Fattura24/Api/Response.html#method-i-pdf-3F","()","<p>Returns <code>true</code> when the body of the request contains a pdf file.\n"],["request","Fattura24::Api","Fattura24/Api.html#method-c-request","(path, body = {})","<p>Performs a generic request on the api endpoint using Ruby's Net::HTTP. All the other api methods …\n"],["save_customer","Fattura24::Api","Fattura24/Api.html#method-c-save_customer","(data = {})","<p>Saves a customer in your contact list. Any <code>nil</code> parameter will be deeply removed by using the crush utility. …\n"],["save_document","Fattura24::Api","Fattura24/Api.html#method-c-save_document","(data = {})","<p>Use this to create documents. Pass a hash with the data, check the README file for examples. Use DocumentType …\n"],["save_item","Fattura24::Api","Fattura24/Api.html#method-c-save_item","(data = {})","<p>Creates a credit. Any <code>nil</code> parameter will be deeply removed by using the crush utility. Returns a Response …\n"],["success?","Fattura24::Api::Response","Fattura24/Api/Response.html#method-i-success-3F","()","<p>Returns <code>true</code> when the http response is 200, <code>false</code> otherwise.\n"],["test_key","Fattura24::Api","Fattura24/Api.html#method-c-test_key","()","<p>Tests validity of your api key. Returns a Response object.\n"],["to_h","Fattura24::Api::Response","Fattura24/Api/Response.html#method-i-to_h","()","<p>Returns an hash representation of the xml body of the response. Raises NotSerializable in case of a binary …\n"],["to_s","Fattura24::Api::Response","Fattura24/Api/Response.html#method-i-to_s","()","<p>Returns the <code>String</code> body of this response. This can be both the original xml on most of the calls or the …\n"],["README","","README_md.html","","<p>Fattura24\n<p><img src=\"https://travis-ci.org/snada/fattura24.svg?branch=master\">\n<img src=\"https://api.codeclimate.com/v1/badges/8db0d6f2c8e567f09319/maintainability\"> ...\n"]]}}
|
1
|
+
var search_data = {"index":{"searchIndex":["fattura24","api","response","configuration","documenttype","error","fepaymentcode","invalidparams","missingapikey","missinginput","notserializable","utils","code()","configuration()","configure()","crush()","crush_array()","crush_hash()","get_file()","get_numerator()","get_pdc()","get_product()","get_template()","message()","new()","new()","pdf?()","request()","save_customer()","save_document()","save_item()","success?()","test_key()","to_h()","to_s()","readme"],"longSearchIndex":["fattura24","fattura24::api","fattura24::api::response","fattura24::configuration","fattura24::documenttype","fattura24::error","fattura24::fepaymentcode","fattura24::invalidparams","fattura24::missingapikey","fattura24::missinginput","fattura24::notserializable","fattura24::utils","fattura24::api::response#code()","fattura24::configuration()","fattura24::configure()","fattura24::utils::crush()","fattura24::utils::crush_array()","fattura24::utils::crush_hash()","fattura24::api::get_file()","fattura24::api::get_numerator()","fattura24::api::get_pdc()","fattura24::api::get_product()","fattura24::api::get_template()","fattura24::missingapikey#message()","fattura24::api::response::new()","fattura24::configuration::new()","fattura24::api::response#pdf?()","fattura24::api::request()","fattura24::api::save_customer()","fattura24::api::save_document()","fattura24::api::save_item()","fattura24::api::response#success?()","fattura24::api::test_key()","fattura24::api::response#to_h()","fattura24::api::response#to_s()",""],"info":[["Fattura24","","Fattura24.html","",""],["Fattura24::Api","","Fattura24/Api.html","",""],["Fattura24::Api::Response","","Fattura24/Api/Response.html","","<p>An instance of this class will be returned on every api call, wrapping the content of the response and …\n"],["Fattura24::Configuration","","Fattura24/Configuration.html","",""],["Fattura24::DocumentType","","Fattura24/DocumentType.html","","<p>This module contains constants to be used when creating documents/credits.\n"],["Fattura24::Error","","Fattura24/Error.html","",""],["Fattura24::FePaymentCode","","Fattura24/FePaymentCode.html","","<p>This module contains constants to be used when specifying payment types of your electronic invoices. …\n"],["Fattura24::InvalidParams","","Fattura24/InvalidParams.html","",""],["Fattura24::MissingApiKey","","Fattura24/MissingApiKey.html","","<p>Thrown when trying to perform any request on the api without a key set in configuration\n"],["Fattura24::MissingInput","","Fattura24/MissingInput.html","",""],["Fattura24::NotSerializable","","Fattura24/NotSerializable.html","",""],["Fattura24::Utils","","Fattura24/Utils.html","",""],["code","Fattura24::Api::Response","Fattura24/Api/Response.html#method-i-code","()","<p>Returns the <code>Integer</code> value of the underlying http request. It does not mean the request performed it's …\n"],["configuration","Fattura24","Fattura24.html#method-c-configuration","()","<p>Returns current configuration object\n"],["configure","Fattura24","Fattura24.html#method-c-configure","()","<p>Calling this method will yield to a block passing the <code>configuration</code> object as parameter.\n"],["crush","Fattura24::Utils","Fattura24/Utils.html#method-c-crush","(obj)","<p>This function deeply removes any nil object/value from objects.\n"],["crush_array","Fattura24::Utils","Fattura24/Utils.html#method-c-crush_array","(array)","<p>Deeply removes any nil value from arrays.\n"],["crush_hash","Fattura24::Utils","Fattura24/Utils.html#method-c-crush_hash","(hash)","<p>Deeply removes any nil value from hashes.\n"],["get_file","Fattura24::Api","Fattura24/Api.html#method-c-get_file","(id)","<p>Donwloads a pdf file for an existing document. Requires an existing document id, throws MissingInput …\n"],["get_numerator","Fattura24::Api","Fattura24/Api.html#method-c-get_numerator","()","<p>Gets numerator list. Returns a Response object.\n"],["get_pdc","Fattura24::Api","Fattura24/Api.html#method-c-get_pdc","()","<p>Gets 'piano dei conti' Returns a Response object.\n"],["get_product","Fattura24::Api","Fattura24/Api.html#method-c-get_product","(options = {})","<p>Gets a list of products. You can pass a Hash containing a <code>code</code> or <code>category</code> to filter your existing products …\n"],["get_template","Fattura24::Api","Fattura24/Api.html#method-c-get_template","()","<p>Gets a list of document templates. Returns a Response object.\n"],["message","Fattura24::MissingApiKey","Fattura24/MissingApiKey.html#method-i-message","()",""],["new","Fattura24::Api::Response","Fattura24/Api/Response.html#method-c-new","(http_response)",""],["new","Fattura24::Configuration","Fattura24/Configuration.html#method-c-new","()",""],["pdf?","Fattura24::Api::Response","Fattura24/Api/Response.html#method-i-pdf-3F","()","<p>Returns <code>true</code> when the body of the request contains a pdf file.\n"],["request","Fattura24::Api","Fattura24/Api.html#method-c-request","(path, body = {})","<p>Performs a generic request on the api endpoint using Ruby's Net::HTTP. All the other api methods …\n"],["save_customer","Fattura24::Api","Fattura24/Api.html#method-c-save_customer","(data = {})","<p>Saves a customer in your contact list. Any <code>nil</code> parameter will be deeply removed by using the crush utility. …\n"],["save_document","Fattura24::Api","Fattura24/Api.html#method-c-save_document","(data = {})","<p>Use this to create documents. Pass a hash with the data, check the README file for examples. Use DocumentType …\n"],["save_item","Fattura24::Api","Fattura24/Api.html#method-c-save_item","(data = {})","<p>Creates a credit. Any <code>nil</code> parameter will be deeply removed by using the crush utility. Returns a Response …\n"],["success?","Fattura24::Api::Response","Fattura24/Api/Response.html#method-i-success-3F","()","<p>Returns <code>true</code> when the http response is 200, <code>false</code> otherwise.\n"],["test_key","Fattura24::Api","Fattura24/Api.html#method-c-test_key","()","<p>Tests validity of your api key. Returns a Response object.\n"],["to_h","Fattura24::Api::Response","Fattura24/Api/Response.html#method-i-to_h","()","<p>Returns an hash representation of the xml body of the response. Raises NotSerializable in case of a binary …\n"],["to_s","Fattura24::Api::Response","Fattura24/Api/Response.html#method-i-to_s","()","<p>Returns the <code>String</code> body of this response. This can be both the original xml on most of the calls or the …\n"],["README","","README_md.html","","<p>Fattura24\n<p><img src=\"https://travis-ci.org/snada/fattura24.svg?branch=master\">\n<img src=\"https://api.codeclimate.com/v1/badges/8db0d6f2c8e567f09319/maintainability\"> ...\n"]]}}
|
data/docs/js/search_index.js.gz
CHANGED
Binary file
|
data/docs/js/searcher.js.gz
CHANGED
Binary file
|
data/docs/table_of_contents.html
CHANGED
@@ -21,7 +21,6 @@
|
|
21
21
|
<link href="./css/rdoc.css" rel="stylesheet">
|
22
22
|
|
23
23
|
|
24
|
-
|
25
24
|
<body id="top" class="table-of-contents">
|
26
25
|
<main role="main">
|
27
26
|
<h1 class="class">Table of Contents - RDoc Documentation</h1>
|
@@ -47,7 +46,6 @@
|
|
47
46
|
<li><a href="README_md.html#label-License">License</a>
|
48
47
|
</ul>
|
49
48
|
</li>
|
50
|
-
|
51
49
|
</ul>
|
52
50
|
|
53
51
|
<h2 id="classes">Classes and Modules</h2>
|
@@ -70,6 +68,9 @@
|
|
70
68
|
<li class="class">
|
71
69
|
<a href="Fattura24/Error.html">Fattura24::Error</a>
|
72
70
|
</li>
|
71
|
+
<li class="module">
|
72
|
+
<a href="Fattura24/FePaymentCode.html">Fattura24::FePaymentCode</a>
|
73
|
+
</li>
|
73
74
|
<li class="class">
|
74
75
|
<a href="Fattura24/InvalidParams.html">Fattura24::InvalidParams</a>
|
75
76
|
</li>
|
@@ -210,7 +211,7 @@
|
|
210
211
|
|
211
212
|
<footer id="validator-badges" role="contentinfo">
|
212
213
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
213
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
214
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.0.
|
214
215
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
215
216
|
</footer>
|
216
217
|
|
data/fattura24.gemspec
CHANGED
data/lib/fattura24.rb
CHANGED
@@ -0,0 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Fattura24
|
4
|
+
##
|
5
|
+
# This module contains constants to be used
|
6
|
+
# when specifying payment types of your electronic invoices.
|
7
|
+
|
8
|
+
module FePaymentCode
|
9
|
+
CASH = 'MP01'
|
10
|
+
WIRE_TRANSFER = 'MP05'
|
11
|
+
CREDIT_CARD = 'MP08'
|
12
|
+
RIBA = 'MP12'
|
13
|
+
end
|
14
|
+
end
|
data/lib/fattura24/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fattura24
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefano Nada
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -182,6 +182,7 @@ files:
|
|
182
182
|
- docs/Fattura24/Configuration.html
|
183
183
|
- docs/Fattura24/DocumentType.html
|
184
184
|
- docs/Fattura24/Error.html
|
185
|
+
- docs/Fattura24/FePaymentCode.html
|
185
186
|
- docs/Fattura24/InvalidParams.html
|
186
187
|
- docs/Fattura24/MissingApiKey.html
|
187
188
|
- docs/Fattura24/MissingInput.html
|
@@ -239,6 +240,7 @@ files:
|
|
239
240
|
- lib/fattura24/configuration.rb
|
240
241
|
- lib/fattura24/document_type.rb
|
241
242
|
- lib/fattura24/errors.rb
|
243
|
+
- lib/fattura24/fe_payment_code.rb
|
242
244
|
- lib/fattura24/utils.rb
|
243
245
|
- lib/fattura24/version.rb
|
244
246
|
homepage: https://github.com/snada/fattura24
|
@@ -253,14 +255,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
253
255
|
requirements:
|
254
256
|
- - ">="
|
255
257
|
- !ruby/object:Gem::Version
|
256
|
-
version: '
|
258
|
+
version: '2.4'
|
257
259
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
258
260
|
requirements:
|
259
261
|
- - ">="
|
260
262
|
- !ruby/object:Gem::Version
|
261
263
|
version: '0'
|
262
264
|
requirements: []
|
263
|
-
rubygems_version: 3.
|
265
|
+
rubygems_version: 3.2.15
|
264
266
|
signing_key:
|
265
267
|
specification_version: 4
|
266
268
|
summary: Ruby wrapper for fattura24 apis
|