sib-api-v3-sdk 1.0.0 → 2.0.0

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
  SHA1:
3
- metadata.gz: 0dceed50c061a3cac4e852e95abd9b396a92021c
4
- data.tar.gz: 2a0b606befde61f1a6875d4fa7fa77c2c7695e8a
3
+ metadata.gz: 9b99f9731cf68c2b063264806cfe55605884c92e
4
+ data.tar.gz: 46d29b82e9b89458d2bfcd6e7a3290ea138655f1
5
5
  SHA512:
6
- metadata.gz: 95f6925cc3274327cd0c3e94ef1a127234c9bce12dc814e9cdc514adab57f9c790f27443ef7dcf32cbf36aa98222f12453e67ef8196c5815e359f1c07f1716de
7
- data.tar.gz: 518264d9114e0804cc3c42d5a834cccc64c759b7f033b8dfcd2af9df4eb48832b32ce514f1a642398d9e3777970d2991db1cbce0528b36b9c239829ee6ff88c1
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]\\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)?$/.")
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]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/)
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]\\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)?$/."
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]\\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)?$/.")
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
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.2.3
11
11
  =end
12
12
 
13
13
  module SibApiV3Sdk
14
- VERSION = "1.0.0"
14
+ VERSION = "2.0.0"
15
15
  end
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: 1.0.0
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 00:00:00.000000000 Z
11
+ date: 2017-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus