moneybird 0.7.2 → 0.7.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 59100f8dc41736af60512fec5fb092e474ed73a5
4
- data.tar.gz: 9c2baa57eb08aefcff8d9a872b5e2dc20a070f47
3
+ metadata.gz: d5319033eb5cdae3c284e4ae8f749389806745a3
4
+ data.tar.gz: 97ed74b45fff7a5100f0e54bb98f46e211c17d59
5
5
  SHA512:
6
- metadata.gz: c13d41f9f9e08f60a213f9150af7df73569ece5ed324703b87e41c8909caecb349578e852f0b5d7519f583a4f70807329072536cdd90e445574bd7c69bb97903
7
- data.tar.gz: a972ac75c25b9deb2e1c64a6c5d3b323b04a681fda410679418064db66b7aced67866a75d471dd6da353a5a5eed1c73961a1c68ad404bae58b57d1bc1dd76698
6
+ metadata.gz: 86a6796bf67ba95a37c975a9073fff36164bb79eff04abf3e2bb8fe4870f4a5b3483e53ea0fb817975dbf5a4509be7fbf28fe8e519b4cc5c71e8d76343d18f32
7
+ data.tar.gz: f0c764d5939ca39c55ea0096158c4be92b34e05f6254c31991f44c72a562197555cb1721a29919b75d3eded97f01c436938bc0dad02332f1f9484069f471020b
@@ -19,9 +19,8 @@ module Moneybird
19
19
  def http
20
20
  @http ||= begin
21
21
  uri = uri_for_path(base_url)
22
- http = Net::HTTP.new(uri.host, uri.port, '192.168.2.2', 9396)
22
+ http = Net::HTTP.new(uri.host, uri.port)
23
23
  http.use_ssl = uri.scheme == 'https'
24
- http.verify_mode = OpenSSL::SSL::VERIFY_NONE
25
24
  http
26
25
  end
27
26
  end
@@ -39,7 +39,6 @@ module Moneybird::Resource
39
39
  url
40
40
  workflow_id
41
41
  events
42
- details_attributes
43
42
  )
44
43
 
45
44
  def notes=(notes)
@@ -52,12 +51,6 @@ module Moneybird::Resource
52
51
 
53
52
  def details=(line_items)
54
53
  @details ||= line_items.map{ |line_item| Moneybird::Resource::Invoice::Details.build(line_item) }
55
- puts @details.inspect
56
- puts ">>>>>>>>>>>>>>>"
57
- end
58
-
59
- def details_attributes
60
- @details_attributes ||= (details || []).map.with_index{ |line_item, index| {index => line_item.attributes} }
61
54
  end
62
55
 
63
56
  def events=(events)
@@ -1,3 +1,3 @@
1
1
  module Moneybird
2
- VERSION = "0.7.2"
2
+ VERSION = "0.7.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moneybird
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maarten van Vliet