xero-ruby 2.10.0 → 2.10.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
  SHA256:
3
- metadata.gz: 8ce5a3437023733ca6ef290f2b874fd700ed8c4dd6d82ecba1563f88efa928f0
4
- data.tar.gz: bda03de784931876fadd111f97836af1cdfc5a380bc3127e6f46a96991b077a7
3
+ metadata.gz: 5dde5ec413261e2fef5f4d89ce60978e33390ec6432d7fa168a0ba323f82de78
4
+ data.tar.gz: 6bfe429d8c97d99a9b7f9acf5ae734f19228e3e1fbc11a7b5139dd09ee47e35f
5
5
  SHA512:
6
- metadata.gz: 472ac79286f53b8e4e7de62c5bece8e21c91a4b7b709ff86bccea9df1cedcadcfea064c01f300b6e61e6c2aa0b611a585638a7c1cb4032ba04683cc0c0f344cc
7
- data.tar.gz: 4f6e354f10945d8cc0446042158e0e43067238f114899ef9a23d8218f17e9f5fefded2ad130e9c5ce3a850d4418a652f309bf79cd796334fd284994a05d09883
6
+ metadata.gz: a1ab5683ecba461f6c4921e42d1916376ecf68fbb978bfcb13e57847a7a6eb50be792746dea2f8c9bc0d9bddc72e8eec12870628f203a10d550152b667f3b18f
7
+ data.tar.gz: 1456130cc746216ed8712df80951699e647a6054c9dd137ef743dbd89b442ed04c40b24f58b8f9371116a0b205750be9877fb02dc7302fc703f1613fed549a5b
@@ -149,6 +149,7 @@ module XeroRuby
149
149
  end
150
150
 
151
151
  def validate_tokens(token_set)
152
+ token_set = token_set.with_indifferent_access
152
153
  id_token = token_set[:id_token]
153
154
  access_token = token_set[:access_token]
154
155
  if id_token || access_token
@@ -177,6 +178,7 @@ module XeroRuby
177
178
  end
178
179
 
179
180
  def refresh_token_set(token_set)
181
+ token_set = token_set.with_indifferent_access
180
182
  data = {
181
183
  grant_type: 'refresh_token',
182
184
  refresh_token: token_set[:refresh_token]
@@ -185,6 +187,7 @@ module XeroRuby
185
187
  end
186
188
 
187
189
  def revoke_token(token_set)
190
+ token_set = token_set.with_indifferent_access
188
191
  data = {
189
192
  token: token_set[:refresh_token]
190
193
  }
@@ -11,5 +11,5 @@ The version of the XeroOpenAPI document: 2.11.0
11
11
  =end
12
12
 
13
13
  module XeroRuby
14
- VERSION = '2.10.0'
14
+ VERSION = '2.10.1'
15
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xero-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.10.0
4
+ version: 2.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Xero API Team