tickethub 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tickethub/app.rb +1 -1
- data/lib/tickethub/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea77cb0b5daeabed2f6d3b3909c1558492398d31
|
4
|
+
data.tar.gz: 86720566c48efb7e79bf42b03b750a5a7417e3aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
20
|
+
self.new Tickethub.endpoint(auth_type: :bearer, password: token)['/app']
|
21
21
|
end
|
22
22
|
|
23
23
|
def initialize(endpoint, attributes = nil)
|
data/lib/tickethub/version.rb
CHANGED