beyond_api 0.21.0.pre → 0.22.0.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +2 -2
- data/lib/beyond_api/resources/payment_methods.rb +2 -2
- data/lib/beyond_api/resources/script_tags.rb +3 -0
- data/lib/beyond_api/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36af284208461355e7ae3302f115ac42bc76acdb5263075668913143a848ba44
|
4
|
+
data.tar.gz: 1fe0caa89098be3311ae83578e02865f4430c575a1492ccfa652539dc17a8ed9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8bffe7d60dff8e3e564691a8d3d441416876e00e39e8169b58749cadaad9579fd5bf9e346794c63fc6bd0a61791c83687abf56fa80b3ed7eaaf57aafe26b3e8e
|
7
|
+
data.tar.gz: 80fae8d0016715b82b453f9b589036dcb5afb1591b6db39fe511792fc01bbd5f553d9865cd8c20a7c398ab78368c7d0bbdca5e2b166ecf2ef472ed382fd26489
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
beyond_api (0.
|
4
|
+
beyond_api (0.22.0.pre)
|
5
5
|
faraday (~> 1.8.0)
|
6
6
|
|
7
7
|
GEM
|
@@ -45,7 +45,7 @@ GEM
|
|
45
45
|
concurrent-ruby (~> 1.0)
|
46
46
|
method_source (1.0.0)
|
47
47
|
minitest (5.14.4)
|
48
|
-
multipart-post (2.
|
48
|
+
multipart-post (2.2.3)
|
49
49
|
parallel (1.21.0)
|
50
50
|
parser (3.0.3.1)
|
51
51
|
ast (~> 2.4.1)
|
@@ -139,7 +139,7 @@ module BeyondApi
|
|
139
139
|
# -H 'Authorization: Bearer <Access token>' \
|
140
140
|
# -d '{
|
141
141
|
# "name" : "Another name",
|
142
|
-
# "description" : "Pay by
|
142
|
+
# "description" : "Pay by ACME.",
|
143
143
|
# "taxClass" : "REGULAR",
|
144
144
|
# "discountOrFee" : {
|
145
145
|
# "type" : "ABSOLUTE",
|
@@ -166,7 +166,7 @@ module BeyondApi
|
|
166
166
|
# @example
|
167
167
|
# body = {
|
168
168
|
# "name" => "Another name",
|
169
|
-
# "description" => "Pay by
|
169
|
+
# "description" => "Pay by ACME.",
|
170
170
|
# "tax_class" => "REGULAR",
|
171
171
|
# "discount_or_fee" => {
|
172
172
|
# "type" => "ABSOLUTE",
|
@@ -13,6 +13,7 @@ module BeyondApi
|
|
13
13
|
# -H 'Authorization: Bearer <Access token>'
|
14
14
|
#
|
15
15
|
# @option params [Boolean] :paginated
|
16
|
+
# @option params [Boolean] :only_own
|
16
17
|
# @option params [Integer] :size the page size
|
17
18
|
# @option params [Integer] :page the page number
|
18
19
|
#
|
@@ -24,6 +25,8 @@ module BeyondApi
|
|
24
25
|
def all(params = {})
|
25
26
|
path = "/script-tags"
|
26
27
|
|
28
|
+
params.merge!(client_id: BeyondApi.configuration.client_id) if params[:only_own]
|
29
|
+
|
27
30
|
handle_all_request(path, :script_tags, params)
|
28
31
|
end
|
29
32
|
|
data/lib/beyond_api/version.rb
CHANGED
metadata
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beyond_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.22.0.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Unai Abrisketa
|
8
8
|
- Kathia Salazar
|
9
9
|
- German San Emeterio
|
10
10
|
- Kenneth Gallego
|
11
|
-
autorequire:
|
11
|
+
autorequire:
|
12
12
|
bindir: exe
|
13
13
|
cert_chain: []
|
14
|
-
date: 2022-
|
14
|
+
date: 2022-12-20 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bundler
|
@@ -153,8 +153,8 @@ dependencies:
|
|
153
153
|
- - "~>"
|
154
154
|
- !ruby/object:Gem::Version
|
155
155
|
version: 1.8.0
|
156
|
-
description:
|
157
|
-
email:
|
156
|
+
description:
|
157
|
+
email:
|
158
158
|
executables: []
|
159
159
|
extensions: []
|
160
160
|
extra_rdoc_files: []
|
@@ -228,7 +228,7 @@ files:
|
|
228
228
|
homepage: https://github.com/ePages-de/beyond_api-ruby_client
|
229
229
|
licenses: []
|
230
230
|
metadata: {}
|
231
|
-
post_install_message:
|
231
|
+
post_install_message:
|
232
232
|
rdoc_options: []
|
233
233
|
require_paths:
|
234
234
|
- lib
|
@@ -243,8 +243,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
243
243
|
- !ruby/object:Gem::Version
|
244
244
|
version: 1.3.1
|
245
245
|
requirements: []
|
246
|
-
rubygems_version: 3.
|
247
|
-
signing_key:
|
246
|
+
rubygems_version: 3.3.7
|
247
|
+
signing_key:
|
248
248
|
specification_version: 4
|
249
249
|
summary: Ruby client to access the Beyond API
|
250
250
|
test_files: []
|