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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3310c2caec359545c07a46c319954794ccff9ef89a19f34c8726f1440433b7af
4
- data.tar.gz: ebf2e933e28d2e8f6ffa79e9b73923ca34ad8317e121f5d065988da43acc5fc9
3
+ metadata.gz: 568304637b2105328d5baccbea435111c0df6f9fba29398e5a228feb738df2da
4
+ data.tar.gz: 3be1e2e0f40aff2293260907aa40cf83a2483b0cdbcb9ee99e9798192c392c7e
5
5
  SHA512:
6
- metadata.gz: 652af0e17c4fc7de2d6b613ad7adcc91cee42ba70a71353bd9bc934355689319c3a76cecf17147d68c81e4d943971630fe03ad1102a01d8b7c3c1920f1068e23
7
- data.tar.gz: 2cb979e8a7c5720db959873e58c116fc64abea665104239fd6c46a06491c1083e97399e112d6e9fbaa684ca922dd53a5984f4abddbd2b8f855338f5b384f2e9c
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: "#{BASE_URL}#{API_VERSION}",
23
+ url: "#{api_url}#{api_version}",
24
24
  headers: {
25
25
  'Authorization' => auth_token
26
26
  }
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Openpix
4
4
  module RubySdk
5
- VERSION = '1.1.1'
5
+ VERSION = '1.2.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openpix-ruby_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erick Takeshi