late-sdk 0.0.769 → 0.0.770

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: 4becc9ae69049fa64403fb52b9f69bf5da818d3896e0ef6b49904c15a729e8a0
4
- data.tar.gz: af3fbee82165e96b2db1a294f9ec65fe24d58d33d0c70e6f5c708bfa9329b10c
3
+ metadata.gz: e324b1299abbb9d6d347af381df90439000bad01687714f6e6d5eaf3b0ff64d8
4
+ data.tar.gz: bdcee9bd083e501981fae50520fe589737445984781ba13565e3a47e2ad30bd3
5
5
  SHA512:
6
- metadata.gz: 0b491b36074085e1bfb2517b82a87c2f4a6b29a43e7d99d978b7c8979e93a824778c0721cddf2956dd516d12e85bcc939ce53c2509c8d414d1c8ef0d4e937161
7
- data.tar.gz: d801eca1dc611d066dc4dc060bb95844a4605cf11b55c679fb005b55f86a7e42363800a178dc7a84a2e777ce42a8549bfbab5aad4b85ea2e4e455e3bd7a71bef
6
+ metadata.gz: b5c8325d8b5ab86b522953eac4abf82e59a6cd666c0171cea1d192dc5676e3e0547a9ff3833ad4683e2b3d7d56c6b00147d8bd6ef7c02287dcb573d621b1d4f2
7
+ data.tar.gz: 19c19c02f64c58d1c68320e0fcc59a9dd415cdb36908d43d1bc3f7330c769befde02399a8e21b8eab023f4ec77c5794e45a9214634af9e328c0fe730bb5cecfc
@@ -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
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Zernio
14
- VERSION = '0.0.769'
14
+ VERSION = '0.0.770'
15
15
  end
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.769
4
+ version: 0.0.770
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.769.gem
5449
+ - zernio-sdk-0.0.770.gem
5450
5450
  - zernio-sdk.gemspec
5451
5451
  homepage: https://openapi-generator.tech
5452
5452
  licenses:
Binary file