bookable_cloud 0.0.2 → 0.0.3

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: 49ba97622a4ab5a46d2862a67bb905ac6a393a573e2cdc933756a3aa55f57fd2
4
- data.tar.gz: 17442d18f15d5b1bc552b66fd291dca980ce94b02d0890b84eafa9f88bf5e3c4
3
+ metadata.gz: '0328551d0856d4f2014ba6e30699d2a5afd682a96704b9a1bf277bd268e94c47'
4
+ data.tar.gz: f0b5fee872ea654fbe3b3be2cb3ada9be8bb9809b85f34d318016abb39a5310e
5
5
  SHA512:
6
- metadata.gz: c8af955c6a45d97868ce73bf738d708414ce6da0fe9e4e582c11ccb6ae003e827492f3c4f3241d208efc75ca4956d1230702e6cce4b648d04fdce12e6e819e4b
7
- data.tar.gz: df4367e8561da7d4ff38a88631d491ab5dc3b5d7a7759181e850ea2dcfa5ddaa4f8566c082dc07a34c44e347839318e0777d43e23b5d1eb2baba567088ba71ae
6
+ metadata.gz: 76b066d78c91e6d5233f466dde17cd77e9346b1272a387f7ee3c780179a718b6fdf7b1eb8dfbc9cc948e7180dda63a942b49f92fc2b787d4eaf64c36b6a474f8
7
+ data.tar.gz: e4f5e8d733c6f03cca247119623216e1f2e63091969031eb371e346ab47c8952e413866f14d7feea53447dbbacbea2512579180469b18a88842c4555aeb1fc6f
@@ -70,7 +70,7 @@ module BookableCloud
70
70
  http.use_ssl = true
71
71
 
72
72
  request = Net::HTTP::Get.new(uri.request_uri)
73
- request["Authorization"] = "Token token=#{@config["access_token"]}"
73
+ request["Authorization"] = "Bearer #{@config["access_token"]}"
74
74
 
75
75
  response = http.request(request)
76
76
 
@@ -85,7 +85,7 @@ module BookableCloud
85
85
 
86
86
  request = Net::HTTP::Put.new(uri.request_uri)
87
87
  request.set_form_data(params) if params
88
- request["Authorization"] = "Token token=#{@config["access_token"]}"
88
+ request["Authorization"] = "Bearer #{@config["access_token"]}"
89
89
 
90
90
  response = http.request(request)
91
91
 
@@ -1,3 +1,3 @@
1
1
  module BookableCloud
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bookable_cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Beynon