moneybird 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/moneybird/client.rb +0 -1
- data/lib/moneybird/resource/contact.rb +1 -0
- data/lib/moneybird/resource/estimate.rb +3 -0
- data/lib/moneybird/resource/invoice/details.rb +9 -6
- data/lib/moneybird/resource/recurring_sales_invoice.rb +1 -0
- data/lib/moneybird/resource/sales_invoice.rb +5 -0
- data/lib/moneybird/resource/webhook.rb +1 -0
- data/lib/moneybird/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0aadac2c763ed7babc9c96d01fdc7bbd548fee4d
|
4
|
+
data.tar.gz: caea13fbe00022000e1b883a0e734b26a6138459
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ba6408631f4c610855622fca7557b29f8dbc546aa860e476d41d64338feaea7ec3372ab0348f44fbc420780cb487b702a243dc60dafce0372c638ee2ce06d33
|
7
|
+
data.tar.gz: b4897d01c1c0e1378e78de33fe0231c69b191ebd59faf2d28b230f91a86177f77b81a0d4f3efde3475992c28de8f2dcad8bff712ad7e6c25c807ca8b09d90c81
|
data/lib/moneybird/client.rb
CHANGED
@@ -9,6 +9,7 @@ module Moneybird::Resource
|
|
9
9
|
contact_id
|
10
10
|
contact
|
11
11
|
details
|
12
|
+
draft_id
|
12
13
|
estimate_id
|
13
14
|
workflow_id
|
14
15
|
document_style_id
|
@@ -30,6 +31,8 @@ module Moneybird::Resource
|
|
30
31
|
archived_at
|
31
32
|
created_at
|
32
33
|
updated_at
|
34
|
+
tax_totals
|
35
|
+
total_discount
|
33
36
|
pre_text
|
34
37
|
post_text
|
35
38
|
total_price_excl_tax
|
@@ -4,18 +4,21 @@ module Moneybird::Resource::Invoice
|
|
4
4
|
extend Moneybird::Resource::ClassMethods
|
5
5
|
|
6
6
|
has_attributes %i(
|
7
|
-
tax_rate_id
|
8
7
|
administration_id
|
9
|
-
ledger_account_id
|
10
8
|
amount
|
11
|
-
|
9
|
+
amount_decimal
|
10
|
+
created_at
|
12
11
|
description
|
12
|
+
id
|
13
|
+
ledger_account_id
|
14
|
+
period
|
15
|
+
price
|
16
|
+
product_id
|
13
17
|
row_order
|
18
|
+
tax_rate_id
|
19
|
+
tax_report_reference
|
14
20
|
total_price_excl_tax_with_discount
|
15
21
|
total_price_excl_tax_with_discount_base
|
16
|
-
tax_report_reference
|
17
|
-
id
|
18
|
-
created_at
|
19
22
|
updated_at
|
20
23
|
)
|
21
24
|
end
|
@@ -14,6 +14,7 @@ module Moneybird::Resource
|
|
14
14
|
details
|
15
15
|
discount
|
16
16
|
document_style_id
|
17
|
+
draft_id
|
17
18
|
due_date
|
18
19
|
id
|
19
20
|
identity_id
|
@@ -26,15 +27,19 @@ module Moneybird::Resource
|
|
26
27
|
payment_conditions
|
27
28
|
payments
|
28
29
|
prices_are_incl_tax
|
30
|
+
recurring_sales_invoice_id
|
29
31
|
reference
|
30
32
|
sent_at
|
31
33
|
state
|
34
|
+
tax_totals
|
35
|
+
total_discount
|
32
36
|
total_paid
|
33
37
|
total_price_excl_tax
|
34
38
|
total_price_excl_tax_base
|
35
39
|
total_price_incl_tax
|
36
40
|
total_price_incl_tax_base
|
37
41
|
total_unpaid
|
42
|
+
total_unpaid_base
|
38
43
|
updated_at
|
39
44
|
url
|
40
45
|
workflow_id
|
data/lib/moneybird/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: moneybird
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maarten van Vliet
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|