late-sdk 0.0.769 → 0.0.771
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 37ce52fd9e8de6a481cf352f64c23ba53f8a68a16efa1afa268e1c19c0040dfc
|
|
4
|
+
data.tar.gz: 2038e5233a78014a8d0bf3a7c316a7bcc61ea5553bcc09b945167592cb8a7b1d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 96d2c6d5b7a934f8e93f21dcd2441fbfbbd46b80192bf53dcfc57ca899a974c46ff1ead9f5c874e42c4b5a0ce151f2187ae7f89abd3722012770f07c4a1dee41
|
|
7
|
+
data.tar.gz: 8297f25bb87279372d2a0c6eae456689c472ea78045a1e4a309b77c943e201b5ca63f5f3193bb7b7d55decca2d9373a626441bf1ff1201557a783cfc2a24d941
|
|
@@ -118,7 +118,7 @@ module Zernio
|
|
|
118
118
|
def valid?
|
|
119
119
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
120
120
|
return false if @platform.nil?
|
|
121
|
-
platform_validator = EnumAttributeValidator.new('String', ["facebook", "instagram"])
|
|
121
|
+
platform_validator = EnumAttributeValidator.new('String', ["facebook", "instagram", "google"])
|
|
122
122
|
return false unless platform_validator.valid?(@platform)
|
|
123
123
|
true
|
|
124
124
|
end
|
|
@@ -126,7 +126,7 @@ module Zernio
|
|
|
126
126
|
# Custom attribute writer method checking allowed values (enum).
|
|
127
127
|
# @param [Object] platform Object to be assigned
|
|
128
128
|
def platform=(platform)
|
|
129
|
-
validator = EnumAttributeValidator.new('String', ["facebook", "instagram"])
|
|
129
|
+
validator = EnumAttributeValidator.new('String', ["facebook", "instagram", "google"])
|
|
130
130
|
unless validator.valid?(platform)
|
|
131
131
|
fail ArgumentError, "invalid value for \"platform\", must be one of #{validator.allowable_values}."
|
|
132
132
|
end
|
data/lib/zernio-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -39609,7 +39609,7 @@ paths:
|
|
|
39609
39609
|
x-resource-group: "ads"
|
|
39610
39610
|
operationId: deleteAdCampaign
|
|
39611
39611
|
tags: ["Ad Campaigns"]
|
|
39612
|
-
x-platforms: ["meta", "tiktok"]
|
|
39612
|
+
x-platforms: ["meta", "tiktok", "google"]
|
|
39613
39613
|
summary: Delete a campaign
|
|
39614
39614
|
description: |
|
|
39615
39615
|
Deletes the whole campaign on the platform, cascading to its ad sets
|
|
@@ -39635,7 +39635,7 @@ paths:
|
|
|
39635
39635
|
type: object
|
|
39636
39636
|
required: [platform]
|
|
39637
39637
|
properties:
|
|
39638
|
-
platform: { type: string, enum: [facebook, instagram] }
|
|
39638
|
+
platform: { type: string, enum: [facebook, instagram, google] }
|
|
39639
39639
|
accountId: { type: string, description: "Zernio SocialAccount id owning the ad account. Required only to delete an EMPTY campaign (zero ads), which has no local Ad documents to resolve a token from." }
|
|
39640
39640
|
responses:
|
|
39641
39641
|
'200':
|
|
@@ -30,7 +30,7 @@ describe Zernio::DeleteAdCampaignRequest do
|
|
|
30
30
|
describe 'test attribute "platform"' do
|
|
31
31
|
it 'should work' do
|
|
32
32
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["facebook", "instagram"])
|
|
33
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["facebook", "instagram", "google"])
|
|
34
34
|
# validator.allowable_values.each do |value|
|
|
35
35
|
# expect { instance.platform = value }.not_to raise_error
|
|
36
36
|
# end
|
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: late-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.771
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -5446,7 +5446,7 @@ files:
|
|
|
5446
5446
|
- spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
|
|
5447
5447
|
- spec/models/you_tube_video_retention_response_spec.rb
|
|
5448
5448
|
- spec/spec_helper.rb
|
|
5449
|
-
- zernio-sdk-0.0.
|
|
5449
|
+
- zernio-sdk-0.0.771.gem
|
|
5450
5450
|
- zernio-sdk.gemspec
|
|
5451
5451
|
homepage: https://openapi-generator.tech
|
|
5452
5452
|
licenses:
|
data/zernio-sdk-0.0.769.gem
DELETED
|
Binary file
|