cloudmersive-validate-api-client 1.4.0 → 1.4.1

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
  SHA256:
3
- metadata.gz: dc5529a8142a06ca5d15ef6382d54736acc2c22004af85d065d3ed26a945c327
4
- data.tar.gz: 59a82afaedabfb92bf3bc96eae3fb87d056d903fabf60c5eef60eb806ad12fc2
3
+ metadata.gz: 13df5321a985dfdbbabdba068cc518b9e265e3044dcd9a8eed682dd741d0a9f2
4
+ data.tar.gz: 04f195e201367e9bbc07a92b21031bf4966bbdee8e48d267008019a68ed5961f
5
5
  SHA512:
6
- metadata.gz: ff8276b238119d817300753e042248eb30ef4a0398845eaf7153369deeb280b753d0beab5ebff4c8697a843794228042c857bb033176ece81c95990279cccb79
7
- data.tar.gz: 9480dc1e21242308dcd640c4e2d443794ada968a985fe35056940b2de35640ba4d75e963092cd860ee55fe1bdcf3383f83655752a2c0ef34356827ab9533b910
6
+ metadata.gz: a5f0b2b7dfd415190a973c18687ba7cd3465b92a6c54bd175134a1a721349edef0c5c5da49649aadcb10243f72cdcd34bd66eb2d49b00666f2d27a3f398c7499
7
+ data.tar.gz: a2444c2063a4bf85f8eda2fe3c6f8e3ea0a018b5c80d32e139184027ba34678bf93282574ffbd718d32be67d0fe53c526bdeaeb8152e115a5b4defa0ed48fd23
data/README.md CHANGED
@@ -7,7 +7,7 @@ The validation APIs help you validate data. Check if an E-mail address is real.
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
9
  - API version: v1
10
- - Package version: 1.4.0
10
+ - Package version: 1.4.1
11
11
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -23,15 +23,15 @@ gem build cloudmersive-validate-api-client.gemspec
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./cloudmersive-validate-api-client-1.4.0.gem
26
+ gem install ./cloudmersive-validate-api-client-1.4.1.gem
27
27
  ```
28
- (for development, run `gem install --dev ./cloudmersive-validate-api-client-1.4.0.gem` to install the development dependencies)
28
+ (for development, run `gem install --dev ./cloudmersive-validate-api-client-1.4.1.gem` to install the development dependencies)
29
29
 
30
30
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
31
31
 
32
32
  Finally add this to the Gemfile:
33
33
 
34
- gem 'cloudmersive-validate-api-client', '~> 1.4.0'
34
+ gem 'cloudmersive-validate-api-client', '~> 1.4.1'
35
35
 
36
36
  ### Install from Git
37
37
 
data/docs/Timezone.md CHANGED
@@ -5,5 +5,6 @@ Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **name** | **String** | Name of the Time Zone | [optional]
7
7
  **base_utc_offset** | **String** | UTC offset for this time zone | [optional]
8
+ **now** | **DateTime** | The current time (Now) in this time zone | [optional]
8
9
 
9
10
 
@@ -21,12 +21,16 @@ module CloudmersiveValidateApiClient
21
21
  # UTC offset for this time zone
22
22
  attr_accessor :base_utc_offset
23
23
 
24
+ # The current time (Now) in this time zone
25
+ attr_accessor :now
26
+
24
27
 
25
28
  # Attribute mapping from ruby-style variable name to JSON key.
26
29
  def self.attribute_map
27
30
  {
28
31
  :'name' => :'Name',
29
- :'base_utc_offset' => :'BaseUTCOffset'
32
+ :'base_utc_offset' => :'BaseUTCOffset',
33
+ :'now' => :'Now'
30
34
  }
31
35
  end
32
36
 
@@ -34,7 +38,8 @@ module CloudmersiveValidateApiClient
34
38
  def self.swagger_types
35
39
  {
36
40
  :'name' => :'String',
37
- :'base_utc_offset' => :'String'
41
+ :'base_utc_offset' => :'String',
42
+ :'now' => :'DateTime'
38
43
  }
39
44
  end
40
45
 
@@ -54,6 +59,10 @@ module CloudmersiveValidateApiClient
54
59
  self.base_utc_offset = attributes[:'BaseUTCOffset']
55
60
  end
56
61
 
62
+ if attributes.has_key?(:'Now')
63
+ self.now = attributes[:'Now']
64
+ end
65
+
57
66
  end
58
67
 
59
68
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -75,7 +84,8 @@ module CloudmersiveValidateApiClient
75
84
  return true if self.equal?(o)
76
85
  self.class == o.class &&
77
86
  name == o.name &&
78
- base_utc_offset == o.base_utc_offset
87
+ base_utc_offset == o.base_utc_offset &&
88
+ now == o.now
79
89
  end
80
90
 
81
91
  # @see the `==` method
@@ -87,7 +97,7 @@ module CloudmersiveValidateApiClient
87
97
  # Calculates hash code according to all attributes.
88
98
  # @return [Fixnum] Hash code
89
99
  def hash
90
- [name, base_utc_offset].hash
100
+ [name, base_utc_offset, now].hash
91
101
  end
92
102
 
93
103
  # Builds the object from hash
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.3.1
11
11
  =end
12
12
 
13
13
  module CloudmersiveValidateApiClient
14
- VERSION = "1.4.0"
14
+ VERSION = "1.4.1"
15
15
  end
@@ -44,5 +44,11 @@ describe 'Timezone' do
44
44
  end
45
45
  end
46
46
 
47
+ describe 'test attribute "now"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
47
53
  end
48
54
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudmersive-validate-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cloudmersive
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-29 00:00:00.000000000 Z
11
+ date: 2020-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus