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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e95396ed4efb40b6b353de2fd52324137c0dc7ef
4
- data.tar.gz: 23d23d0f007276daff2a3254ade2cccab9963246
3
+ metadata.gz: 0aadac2c763ed7babc9c96d01fdc7bbd548fee4d
4
+ data.tar.gz: caea13fbe00022000e1b883a0e734b26a6138459
5
5
  SHA512:
6
- metadata.gz: 940f204d739c8a1bc9cb41754ba9a5c15bf228375b7ad3c8173598754b0dc537eee24973b34eb5712a9a19014677bc9ddba131ed15d5770dde8011e24b892d24
7
- data.tar.gz: 40c9db3585dac07505fe6e6b91cd166da5abb48d8a7064cbc1f97840ffb9f1d9fc38dfe9aaa51fe2a047728f8e9fb52b28c14ca1c0acfc13ce584a3b75ee28c2
6
+ metadata.gz: 1ba6408631f4c610855622fca7557b29f8dbc546aa860e476d41d64338feaea7ec3372ab0348f44fbc420780cb487b702a243dc60dafce0372c638ee2ce06d33
7
+ data.tar.gz: b4897d01c1c0e1378e78de33fe0231c69b191ebd59faf2d28b230f91a86177f77b81a0d4f3efde3475992c28de8f2dcad8bff712ad7e6c25c807ca8b09d90c81
@@ -25,7 +25,6 @@ module Moneybird
25
25
  uri = uri_for_path(base_url)
26
26
  http = Faraday.new(:url => uri) do |faraday|
27
27
  faraday.request :url_encoded
28
- faraday.response :logger
29
28
  faraday.adapter faraday_adapter
30
29
  end
31
30
  http
@@ -38,6 +38,7 @@ module Moneybird::Resource
38
38
  credit_card_reference
39
39
  credit_card_type
40
40
  tax_number_validated_at
41
+ tax_number_valid
41
42
  created_at
42
43
  updated_at
43
44
  notes
@@ -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
- price
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
@@ -9,6 +9,7 @@ module Moneybird::Resource
9
9
  administration_id
10
10
  contact_id
11
11
  contact
12
+ custom_fields
12
13
  workflow_id
13
14
  start_date
14
15
  invoice_date
@@ -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
@@ -9,6 +9,7 @@ module Moneybird::Resource
9
9
  url
10
10
  last_http_status
11
11
  last_http_body
12
+ events
12
13
  )
13
14
  end
14
15
  end
@@ -1,3 +1,3 @@
1
1
  module Moneybird
2
- VERSION = "0.9.0"
2
+ VERSION = "0.9.1"
3
3
  end
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.0
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-05-26 00:00:00.000000000 Z
11
+ date: 2017-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport