sib-api-v3-sdk 1.0.0 → 2.0.0
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b99f9731cf68c2b063264806cfe55605884c92e
|
4
|
+
data.tar.gz: 46d29b82e9b89458d2bfcd6e7a3290ea138655f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62814ab573dac45ebe7691e71c0466df1deca8a883630af115437634b284121d38a21a261d4ae09356b25fb510543f1971c2bfe9d6e23e5d2da453f43b57fa68
|
7
|
+
data.tar.gz: 742eb8593a08d2cca9402a52706c89555a94f1048c60426f8a0fd9d0cfd7c29f23e17cefaf561b33a18f854a13490ed7389db26c2b27af754a3114d1b4bc4e5c
|
@@ -98,8 +98,8 @@ module SibApiV3Sdk
|
|
98
98
|
invalid_properties.push("invalid value for 'sender', the character length must be smaller than or equal to 11.")
|
99
99
|
end
|
100
100
|
|
101
|
-
if !@scheduled_at.nil? && @scheduled_at !~ Regexp.new(/^([1-9]
|
102
|
-
invalid_properties.push("invalid value for 'scheduled_at', must conform to the pattern /^([1-9]
|
101
|
+
if !@scheduled_at.nil? && @scheduled_at !~ Regexp.new(/^([1-9]\d{3}-\d{2}-\d{2} [0-2]\d:[0-5]\d:[0-5]\d)?$/)
|
102
|
+
invalid_properties.push("invalid value for 'scheduled_at', must conform to the pattern /^([1-9]\d{3}-\d{2}-\d{2} [0-2]\d:[0-5]\d:[0-5]\d)?$/.")
|
103
103
|
end
|
104
104
|
|
105
105
|
return invalid_properties
|
@@ -111,7 +111,7 @@ module SibApiV3Sdk
|
|
111
111
|
return false if @name.nil?
|
112
112
|
return false if @sender.nil?
|
113
113
|
return false if @sender.to_s.length > 11
|
114
|
-
return false if !@scheduled_at.nil? && @scheduled_at !~ Regexp.new(/^([1-9]
|
114
|
+
return false if !@scheduled_at.nil? && @scheduled_at !~ Regexp.new(/^([1-9]\d{3}-\d{2}-\d{2} [0-2]\d:[0-5]\d:[0-5]\d)?$/)
|
115
115
|
return true
|
116
116
|
end
|
117
117
|
|
@@ -133,8 +133,8 @@ module SibApiV3Sdk
|
|
133
133
|
# @param [Object] scheduled_at Value to be assigned
|
134
134
|
def scheduled_at=(scheduled_at)
|
135
135
|
|
136
|
-
if !scheduled_at.nil? && scheduled_at !~ Regexp.new(/^([1-9]
|
137
|
-
fail ArgumentError, "invalid value for 'scheduled_at', must conform to the pattern /^([1-9]
|
136
|
+
if !scheduled_at.nil? && scheduled_at !~ Regexp.new(/^([1-9]\d{3}-\d{2}-\d{2} [0-2]\d:[0-5]\d:[0-5]\d)?$/)
|
137
|
+
fail ArgumentError, "invalid value for 'scheduled_at', must conform to the pattern /^([1-9]\d{3}-\d{2}-\d{2} [0-2]\d:[0-5]\d:[0-5]\d)?$/."
|
138
138
|
end
|
139
139
|
|
140
140
|
@scheduled_at = scheduled_at
|
@@ -137,8 +137,8 @@ module SibApiV3Sdk
|
|
137
137
|
invalid_properties.push("invalid value for 'status', status cannot be nil.")
|
138
138
|
end
|
139
139
|
|
140
|
-
if !@scheduled_at.nil? && @scheduled_at !~ Regexp.new(/^([1-9]
|
141
|
-
invalid_properties.push("invalid value for 'scheduled_at', must conform to the pattern /^([1-9]
|
140
|
+
if !@scheduled_at.nil? && @scheduled_at !~ Regexp.new(/^([1-9]\d{3}-\d{2}-\d{2} [0-2]\d:[0-5]\d:[0-5]\d)?$/)
|
141
|
+
invalid_properties.push("invalid value for 'scheduled_at', must conform to the pattern /^([1-9]\d{3}-\d{2}-\d{2} [0-2]\d:[0-5]\d:[0-5]\d)?$/.")
|
142
142
|
end
|
143
143
|
|
144
144
|
return invalid_properties
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sib-api-v3-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SendinBlue Developers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-09-
|
11
|
+
date: 2017-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|