openpix-ruby_sdk 1.1.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/openpix/ruby_sdk/http_client.rb +2 -2
- data/lib/openpix/ruby_sdk/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: 568304637b2105328d5baccbea435111c0df6f9fba29398e5a228feb738df2da
|
4
|
+
data.tar.gz: 3be1e2e0f40aff2293260907aa40cf83a2483b0cdbcb9ee99e9798192c392c7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afaa3a60b4cc720c3e600e5c3bbc7ea27dea597cbb9be47a6d31ceb1700ee597f2b447991f2b3562b4e4c7e5499018e4d473ed11d63d4b264ebb54ff6269fc0d
|
7
|
+
data.tar.gz: ff6414815c729bfe36d012f9ce65ef163fe97de088627d2a0290321b25541593345429ddb772ed02ecaa94865c8c6a553a1f88b5f6237f73ae1ac952ab18ebaa
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
## [Unreleased]
|
2
2
|
|
3
|
+
## [1.2.0](https://github.com/Open-Pix/ruby-sdk/compare/v1.1.1...v1.2.0) (2023-07-04)
|
4
|
+
|
5
|
+
|
6
|
+
### Features
|
7
|
+
|
8
|
+
* add ability to accept custom api url and version ([#26](https://github.com/Open-Pix/ruby-sdk/issues/26)) ([cae73ef](https://github.com/Open-Pix/ruby-sdk/commit/cae73ef01bd474e27bcd5246ff3b374f9bfd76e1))
|
9
|
+
|
3
10
|
## [1.1.1](https://github.com/Open-Pix/ruby-sdk/compare/v1.1.0...v1.1.1) (2023-07-04)
|
4
11
|
|
5
12
|
|
@@ -18,9 +18,9 @@ module Openpix
|
|
18
18
|
attr_reader :instance
|
19
19
|
end
|
20
20
|
|
21
|
-
def initialize_http_client(auth_token)
|
21
|
+
def initialize_http_client(auth_token, api_url = BASE_URL, api_version = API_VERSION)
|
22
22
|
@http_client = Faraday.new(
|
23
|
-
url: "#{
|
23
|
+
url: "#{api_url}#{api_version}",
|
24
24
|
headers: {
|
25
25
|
'Authorization' => auth_token
|
26
26
|
}
|