File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed
Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 1+ ### v0.22.0.pre
2+
3+ * features
4+ * Add at ` ScriptTags#all ` an optional parameter to retrieve only owner scripts
5+
16### v0.21.0.pre
27
38* bug-fixes
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ class ScriptTags < Base
1313 # -H 'Authorization: Bearer <Access token>'
1414 #
1515 # @option params [Boolean] :paginated
16+ # @option params [Boolean] :only_own
1617 # @option params [Integer] :size the page size
1718 # @option params [Integer] :page the page number
1819 #
@@ -24,6 +25,8 @@ class ScriptTags < Base
2425 def all ( params = { } )
2526 path = "/script-tags"
2627
28+ params . merge! ( client_id : BeyondApi . configuration . client_id ) if params [ :only_own ]
29+
2730 handle_all_request ( path , :script_tags , params )
2831 end
2932
Original file line number Diff line number Diff line change 11# frozen_string_literal: true
22
33module BeyondApi
4- VERSION = "0.21 .0.pre"
4+ VERSION = "0.22 .0.pre"
55end
You can’t perform that action at this time.
0 commit comments