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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 40f831d05843ba3350e2aa8a390715004c1bc99f82836a9f40b60e7f0888ef25
4
- data.tar.gz: 4ae22902b0eb2b17941d3e1c59c039eba3d374cb6c0836091ed96906e2f2eae3
3
+ metadata.gz: 36af284208461355e7ae3302f115ac42bc76acdb5263075668913143a848ba44
4
+ data.tar.gz: 1fe0caa89098be3311ae83578e02865f4430c575a1492ccfa652539dc17a8ed9
5
5
  SHA512:
6
- metadata.gz: 555e694512db5677f89330f54586fc377461e7d5ea17d8a4d8fb4c65851c01ab2f443ee182b1ebe50f725e57eceada098d4eb11e7e2d538f2a5b8bffd69fafd1
7
- data.tar.gz: 41752eb106202b23d7c1a449e30d6e4defe811d00bddb1280403829fe71d59683a08ae0b7797c615ff88a583ddcbcd05aa60c72dcc1b6b47ce0b610732c8ac6f
6
+ metadata.gz: 8bffe7d60dff8e3e564691a8d3d441416876e00e39e8169b58749cadaad9579fd5bf9e346794c63fc6bd0a61791c83687abf56fa80b3ed7eaaf57aafe26b3e8e
7
+ data.tar.gz: 80fae8d0016715b82b453f9b589036dcb5afb1591b6db39fe511792fc01bbd5f553d9865cd8c20a7c398ab78368c7d0bbdca5e2b166ecf2ef472ed382fd26489
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ### v0.22.0.pre
2
+
3
+ * features
4
+ * Add at `ScriptTags#all` an optional parameter to retrieve only owner scripts
5
+
1
6
  ### v0.21.0.pre
2
7
 
3
8
  * bug-fixes
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- beyond_api (0.21.0.pre)
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.1.1)
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 Converge.",
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 Converge.",
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
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BeyondApi
4
- VERSION = "0.21.0.pre"
4
+ VERSION = "0.22.0.pre"
5
5
  end
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.21.0.pre
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-01-18 00:00:00.000000000 Z
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.2.16
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: []