xero-ruby 2.6.1 → 2.6.2

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
  SHA256:
3
- metadata.gz: c75016ba7ea05601c6e5fb3674eb3842319e7cd1c8abf098caf97be80a0cf78a
4
- data.tar.gz: 37ebe02f54aedbba46a86def052234b260ab1f50358c98e8436c37c9cb026b73
3
+ metadata.gz: ac629bbf25ab4ffb1de61531dc83b88655157bff77e69b30385d7117f432c9db
4
+ data.tar.gz: 1f1741df2a1d4aa3b76668dced5b7b5dbc4e2a189f82b384b71dbb517484a1ae
5
5
  SHA512:
6
- metadata.gz: 7f03b57e7827a07c0c23a29ab635b4e1430f87cc7c618daebae9efef576c56362d292b951e62eb475ab646e0c6e780f111137013d15a636a5d214a6b6ac81174
7
- data.tar.gz: 2b8a015dc5505257e410d43c3ecafe09b32b8423dad6508cec6157ed52816fc0f0351deb6a47aef96ec7307bf6641834bb768c552e8afda0f4d38be52fb2a4e9
6
+ metadata.gz: 56ce2386be68427b63d2dad049780ac1d6cd670eedc8f5d0c28072a9feb41777b5ca672137f59cdd1fb14fa861ec3be4b75e49fc8b833db5ead20d9cd67b6129
7
+ data.tar.gz: 49d77102f9918b211f303639170aeedabc34d1cf7df6084d64f9c2ff6751654c506fec1967bdc7d8c6a94f61c44bfc0f11138d7144da1ef3abf1415e3a12bcae
@@ -136,14 +136,14 @@ module XeroRuby
136
136
  def connections
137
137
  @config.base_url = 'https://api.xero.com'
138
138
  opts = { :header_params => {'Content-Type': 'application/json'}, :auth_names => ['OAuth2'] }
139
- response = call_api(:GET, '/connections/', nil, opts)
139
+ response = call_api(:GET, "/connections/", nil, opts)
140
140
  response[0]
141
141
  end
142
142
 
143
143
  def disconnect(connection_id)
144
144
  @config.base_url = 'https://api.xero.com'
145
145
  opts = { :header_params => {'Content-Type': 'application/json'}, :auth_names => ['OAuth2'] }
146
- call_api(:DELETE, '/connections/#{connection_id}', nil, opts)
146
+ call_api(:DELETE, "/connections/#{connection_id}", nil, opts)
147
147
  connections
148
148
  end
149
149
 
@@ -11,5 +11,5 @@ The version of the XeroOpenAPI document: 2.8.3
11
11
  =end
12
12
 
13
13
  module XeroRuby
14
- VERSION = '2.6.1'
14
+ VERSION = '2.6.2'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xero-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.1
4
+ version: 2.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Xero API Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-27 00:00:00.000000000 Z
11
+ date: 2021-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday