wavix-sdk-ruby 1.0.1 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +9 -0
- data/lib/wavix_api/base_methods.rb +1 -1
- data/lib/wavix_api.rb +4 -2
- data/wavix-sdk-ruby.gemspec +3 -1
- metadata +7 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 70c5188095fa8dcd72b43b7dfbee6146369be4bb61642d5446d7a52581930eff
|
|
4
|
+
data.tar.gz: 1e91550924304fdb14145f8d0db41be2a6a0a02cbc4c16423b01c111fe7447e1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 68d1343e0e35adb29b21b1596e451f2058d53cc66da5bd582c5346ea02801a6e55765ffc82542b92245722ea4313a1b4844b6c3e646f2b697fd98314f47990bf
|
|
7
|
+
data.tar.gz: 23a9a5ab3d056503ef3d3f9002701b24dc3ddd7f972be1739c2acabc714b20ab4a178cafd27dc37c3c021013925cb5f08b9bf7af9d79cbae7c9754fcabd8e4a5
|
data/README.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
> [!WARNING]
|
|
2
|
+
> **This SDK is deprecated and no longer maintained.**
|
|
3
|
+
> Use the new, actively maintained SDK instead:
|
|
4
|
+
> **[`wavix-ruby-sdk`](https://github.com/Wavix/wavix-ruby-sdk)**
|
|
5
|
+
>
|
|
6
|
+
> ```sh
|
|
7
|
+
> gem install wavix-ruby-sdk
|
|
8
|
+
> ```
|
|
9
|
+
|
|
1
10
|
# Wavix Backend Public API Ruby SDK
|
|
2
11
|
|
|
3
12
|
Welcome to the Wavix Ruby SDK documentation. This guide will walk you through installing, configuring, and using the Wavix Ruby SDK to interact seamlessly with the Wavix Backend Public API.
|
data/lib/wavix_api.rb
CHANGED
|
@@ -43,10 +43,12 @@ module WavixApi
|
|
|
43
43
|
FILE_NAMES = %i[attachment paper invoice].freeze
|
|
44
44
|
|
|
45
45
|
def request(method, path, params: {}, body: nil, headers: {})
|
|
46
|
+
request_headers = DEFAULT_HEADERS.merge(headers)
|
|
47
|
+
request_headers['Authorization'] = "Bearer #{@api_key}" if @api_key
|
|
48
|
+
|
|
46
49
|
connection = Faraday.new(
|
|
47
50
|
url: "https://#{@host}",
|
|
48
|
-
|
|
49
|
-
headers: DEFAULT_HEADERS.merge(headers)
|
|
51
|
+
headers: request_headers
|
|
50
52
|
) do |builder|
|
|
51
53
|
yield(builder) if block_given?
|
|
52
54
|
|
data/wavix-sdk-ruby.gemspec
CHANGED
|
@@ -5,12 +5,14 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = 'wavix-sdk-ruby'
|
|
8
|
-
s.version = '1.
|
|
8
|
+
s.version = '1.1.1'
|
|
9
9
|
s.authors = ['Wavix']
|
|
10
10
|
s.email = ['support@wavix.com']
|
|
11
11
|
s.summary = 'Wavix Public API SDK for Ruby'
|
|
12
12
|
s.homepage = 'https://wavix.com'
|
|
13
13
|
s.license = 'MIT'
|
|
14
|
+
s.post_install_message = "wavix-sdk-ruby is deprecated and no longer maintained. " \
|
|
15
|
+
"Use 'wavix-ruby-sdk' instead: gem install wavix-ruby-sdk"
|
|
14
16
|
s.metadata = {
|
|
15
17
|
'homepage_uri' => 'http://wavix.com/',
|
|
16
18
|
'changelog_uri' => 'https://ci.unitedline.net/wavix/wavix-sdk-ruby/-/tree/master/CHANGELOG.md',
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: wavix-sdk-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Wavix
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-06-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -181,7 +181,8 @@ metadata:
|
|
|
181
181
|
changelog_uri: https://ci.unitedline.net/wavix/wavix-sdk-ruby/-/tree/master/CHANGELOG.md
|
|
182
182
|
source_code_uri: https://ci.unitedline.net/wavix/wavix-sdk-ruby/-/tree/master
|
|
183
183
|
bug_tracker_uri: https://ci.unitedline.net/wavix/wavix-sdk-ruby/-/issues
|
|
184
|
-
post_install_message:
|
|
184
|
+
post_install_message: 'wavix-sdk-ruby is deprecated and no longer maintained. Use
|
|
185
|
+
''wavix-ruby-sdk'' instead: gem install wavix-ruby-sdk'
|
|
185
186
|
rdoc_options:
|
|
186
187
|
- "--charset=UTF-8"
|
|
187
188
|
require_paths:
|
|
@@ -197,9 +198,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
197
198
|
- !ruby/object:Gem::Version
|
|
198
199
|
version: '0'
|
|
199
200
|
requirements: []
|
|
200
|
-
rubyforge_project:
|
|
201
|
+
rubyforge_project:
|
|
201
202
|
rubygems_version: 2.7.6.2
|
|
202
|
-
signing_key:
|
|
203
|
+
signing_key:
|
|
203
204
|
specification_version: 4
|
|
204
205
|
summary: Wavix Public API SDK for Ruby
|
|
205
206
|
test_files: []
|