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 +4 -4
- data/lib/bookable_cloud/api_client.rb +2 -2
- data/lib/bookable_cloud/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0328551d0856d4f2014ba6e30699d2a5afd682a96704b9a1bf277bd268e94c47'
|
4
|
+
data.tar.gz: f0b5fee872ea654fbe3b3be2cb3ada9be8bb9809b85f34d318016abb39a5310e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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"] = "
|
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"] = "
|
88
|
+
request["Authorization"] = "Bearer #{@config["access_token"]}"
|
89
89
|
|
90
90
|
response = http.request(request)
|
91
91
|
|