tickethub 0.3.71 → 0.3.72

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: 75f3721fd77c6ff00182434129e5d820f42ba173
4
- data.tar.gz: e56a0f49ea698aa05fe89a22a70ae7af4d8b2e68
3
+ metadata.gz: ce540a27cb1492ec03311172f1e9d388a63996b1
4
+ data.tar.gz: 72d79a6ba1219683705c79a33e39b667f36578fc
5
5
  SHA512:
6
- metadata.gz: baab7ce496aef453adf6d2644fbfd5ad45bd5b6684c6b6bd9e656b67943a81c6c5f622370e5f846b8523064b8e6b0bc7f01e02f4602e91c6a7a299da2294b9b6
7
- data.tar.gz: 570945ea000888f9e58dff2172dabf9d833313184b351fb449a450c03f8e438c3cdc84ea4684edadd633585d9becdbbe146b4145fdbec193901c847a380f8d69
6
+ metadata.gz: 074321d4e1d5e551fc3517e50b4a73bd4ec17ab5de6d0bdf907bad0b70e6c17eef24f57e72582f8a4e14f8ce560999e6105783bbffb66e5aa806ec2d3dd1b961
7
+ data.tar.gz: d30cb8ee8b06b2a090872e687e7e1091439994bbeb7159bde8a0670b814cd90109f072ec70f42ce8b112075518dba710df0475769aacc3db97008e764992911e
@@ -159,5 +159,13 @@ module Tickethub
159
159
  rescue Tickethub::ResourceInvalid => err
160
160
  @klass.call endpoint, Tickethub::Response.new(err.response).decoded, @options
161
161
  end
162
+
163
+ def update(attributes)
164
+ self.patch attributes
165
+ return true
166
+ rescue Tickethub::ResourceInvalid => err
167
+ @klass.call endpoint, Tickethub::Response.new(err.response).decoded, @options
168
+ return false
169
+ end
162
170
  end
163
171
  end
@@ -1,3 +1,3 @@
1
1
  module Tickethub
2
- VERSION = '0.3.71'
2
+ VERSION = '0.3.72'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tickethub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.71
4
+ version: 0.3.72
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oliver Morgan