beyond_api 0.21.0.pre → 0.22.1.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 +10 -0
- data/Gemfile.lock +12 -8
- data/beyond_api.gemspec +1 -1
- 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 +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1c17d3c33972bbb2122a03c118ea64589d54b047d59a365d9ebeaba20b4ecd2
|
4
|
+
data.tar.gz: 98c14c1abd45b93590681d6f30cf76b626658b6d0809eab436af6e6b74751e1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0dbfddd7937bbb4c38e1f5d8c1535bba4c42d535e2374b94eaa53c28c23904a3d60defb6087d7e4b25698f11c171ae09439a6f3d955066ea293dc2517857a465
|
7
|
+
data.tar.gz: '02159d93b4bd6e491ab63c842582d00d22182394f73064d9a411bdb8d883a36f155f2ecbb6bfc71086abffd94e81a7be8212d0e464513c69fd98bff3251faf51'
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
beyond_api (0.
|
5
|
-
faraday (~> 1.
|
4
|
+
beyond_api (0.22.1.pre)
|
5
|
+
faraday (~> 1.9.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
@@ -22,30 +22,34 @@ GEM
|
|
22
22
|
activesupport (>= 5.0.0)
|
23
23
|
faker (2.19.0)
|
24
24
|
i18n (>= 1.6, < 2)
|
25
|
-
faraday (1.
|
25
|
+
faraday (1.9.3)
|
26
26
|
faraday-em_http (~> 1.0)
|
27
27
|
faraday-em_synchrony (~> 1.0)
|
28
28
|
faraday-excon (~> 1.1)
|
29
|
-
faraday-httpclient (~> 1.0
|
29
|
+
faraday-httpclient (~> 1.0)
|
30
|
+
faraday-multipart (~> 1.0)
|
30
31
|
faraday-net_http (~> 1.0)
|
31
|
-
faraday-net_http_persistent (~> 1.
|
32
|
+
faraday-net_http_persistent (~> 1.0)
|
32
33
|
faraday-patron (~> 1.0)
|
33
34
|
faraday-rack (~> 1.0)
|
34
|
-
|
35
|
+
faraday-retry (~> 1.0)
|
35
36
|
ruby2_keywords (>= 0.0.4)
|
36
37
|
faraday-em_http (1.0.0)
|
37
38
|
faraday-em_synchrony (1.0.0)
|
38
39
|
faraday-excon (1.1.0)
|
39
40
|
faraday-httpclient (1.0.1)
|
41
|
+
faraday-multipart (1.0.4)
|
42
|
+
multipart-post (~> 2)
|
40
43
|
faraday-net_http (1.0.1)
|
41
44
|
faraday-net_http_persistent (1.2.0)
|
42
45
|
faraday-patron (1.0.0)
|
43
46
|
faraday-rack (1.0.0)
|
47
|
+
faraday-retry (1.0.3)
|
44
48
|
i18n (1.8.11)
|
45
49
|
concurrent-ruby (~> 1.0)
|
46
50
|
method_source (1.0.0)
|
47
51
|
minitest (5.14.4)
|
48
|
-
multipart-post (2.
|
52
|
+
multipart-post (2.3.0)
|
49
53
|
parallel (1.21.0)
|
50
54
|
parser (3.0.3.1)
|
51
55
|
ast (~> 2.4.1)
|
@@ -112,4 +116,4 @@ DEPENDENCIES
|
|
112
116
|
yard (~> 0.9)
|
113
117
|
|
114
118
|
BUNDLED WITH
|
115
|
-
2.
|
119
|
+
2.4.8
|
data/beyond_api.gemspec
CHANGED
@@ -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.1.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:
|
14
|
+
date: 2023-03-29 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bundler
|
@@ -145,16 +145,16 @@ dependencies:
|
|
145
145
|
requirements:
|
146
146
|
- - "~>"
|
147
147
|
- !ruby/object:Gem::Version
|
148
|
-
version: 1.
|
148
|
+
version: 1.9.0
|
149
149
|
type: :runtime
|
150
150
|
prerelease: false
|
151
151
|
version_requirements: !ruby/object:Gem::Requirement
|
152
152
|
requirements:
|
153
153
|
- - "~>"
|
154
154
|
- !ruby/object:Gem::Version
|
155
|
-
version: 1.
|
156
|
-
description:
|
157
|
-
email:
|
155
|
+
version: 1.9.0
|
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.4.1
|
247
|
+
signing_key:
|
248
248
|
specification_version: 4
|
249
249
|
summary: Ruby client to access the Beyond API
|
250
250
|
test_files: []
|