tickethub 0.2.5 → 0.2.6

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: 3a5e8ddeaf258f74319812446a7e4d61da878007
4
- data.tar.gz: 121f94295f34fc69e21d8b04948def17d14f0c4f
3
+ metadata.gz: ea77cb0b5daeabed2f6d3b3909c1558492398d31
4
+ data.tar.gz: 86720566c48efb7e79bf42b03b750a5a7417e3aa
5
5
  SHA512:
6
- metadata.gz: 93617a8ee8866f08c5042626d23d9750b0f7445263540073dda139fbeaf085f9e5c30a70b07d30ee3bda6586903daa62c53689697e5717192c78bc6d6ac1f89a
7
- data.tar.gz: c32d871c434234ef15cfaf525b6fd314974b54c70751a463441f424208b1834d9d193e90402f392fe68887d3f1e232ec40ac5f59800e8bf07d896065594d3a1c
6
+ metadata.gz: c4b4f2c8e7306af4cd6f85a352efb14d4465f2f26013973b90e48437a58a3d1df379a28274bd61c76ab3640dbfc6eba043b3ee5489c3b85fd9647d8805f842e7
7
+ data.tar.gz: 34563a207761e46c81836a856ac8b2616016209d3261e00fe150f998b69f603f838b8a80784aa1762de19fa0a9b8ca6e4678b2f5f926a2afff63b56bde7d98d5
data/lib/tickethub/app.rb CHANGED
@@ -17,7 +17,7 @@ module Tickethub
17
17
  def self.[](attributes)
18
18
  token = attributes[:token].is_a?(String) ? attributes[:token]
19
19
  : attributes[:token][:access_token]
20
- self.new Tickethub.endpoint['/app', auth_type: :bearer, password: token]
20
+ self.new Tickethub.endpoint(auth_type: :bearer, password: token)['/app']
21
21
  end
22
22
 
23
23
  def initialize(endpoint, attributes = nil)
@@ -1,3 +1,3 @@
1
1
  module Tickethub
2
- VERSION = '0.2.5'
2
+ VERSION = '0.2.6'
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.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oliver Morgan