atrium-ruby 2.10.0 → 2.10.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ba5d15a1cdcb5b07b2dd759b8c1c028fa205720762f9b3e6b96ecbc445ed25c
|
4
|
+
data.tar.gz: 2859ebc8949a5046d9522fcf6f0da9d1a8816947c3c5733d0546aa2af48e209f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 617fddab8bd2aeea1bd3719b7086b1f237af58eda0cc0fca621ef6bee3bfdece64dd460850570072d19a998d90e5bb31579be0431051668d5647e6ac945f189b
|
7
|
+
data.tar.gz: b5724c2bb83248cb6d9c00a8a991911eee4e82ea44da65071c1a1b30b380eef1f947458da1f063fdd9823750fb80bb2824a38a9ac6c41070c7cd5dc71de46418
|
data/README.md
CHANGED
@@ -17,12 +17,12 @@ gem build atrium-ruby.gemspec
|
|
17
17
|
Then either install the gem locally:
|
18
18
|
|
19
19
|
```shell
|
20
|
-
gem install ./atrium-ruby-2.10.
|
20
|
+
gem install ./atrium-ruby-2.10.1.gem
|
21
21
|
```
|
22
22
|
|
23
23
|
Finally add this to the Gemfile:
|
24
24
|
|
25
|
-
gem 'atrium-ruby', '~> 2.10.
|
25
|
+
gem 'atrium-ruby', '~> 2.10.1'
|
26
26
|
|
27
27
|
### Install from Git
|
28
28
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**
|
6
|
+
**merchants** | [**Array<Merchant>**](Merchant.md) | | [optional]
|
7
7
|
**pagination** | [**Pagination**](Pagination.md) | | [optional]
|
8
8
|
|
9
9
|
|
@@ -10,14 +10,14 @@ require 'date'
|
|
10
10
|
|
11
11
|
module Atrium
|
12
12
|
class MerchantsResponseBody
|
13
|
-
attr_accessor :
|
13
|
+
attr_accessor :merchants
|
14
14
|
|
15
15
|
attr_accessor :pagination
|
16
16
|
|
17
17
|
# Attribute mapping from ruby-style variable name to JSON key.
|
18
18
|
def self.attribute_map
|
19
19
|
{
|
20
|
-
:'
|
20
|
+
:'merchants' => :'merchants',
|
21
21
|
:'pagination' => :'pagination'
|
22
22
|
}
|
23
23
|
end
|
@@ -25,7 +25,7 @@ module Atrium
|
|
25
25
|
# Attribute type mapping.
|
26
26
|
def self.mx_types
|
27
27
|
{
|
28
|
-
:'
|
28
|
+
:'merchants' => :'Array<Merchant>',
|
29
29
|
:'pagination' => :'Pagination'
|
30
30
|
}
|
31
31
|
end
|
@@ -38,9 +38,9 @@ module Atrium
|
|
38
38
|
# convert string to symbol for hash key
|
39
39
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
40
40
|
|
41
|
-
if attributes.has_key?(:'
|
42
|
-
if (value = attributes[:'
|
43
|
-
self.
|
41
|
+
if attributes.has_key?(:'merchants')
|
42
|
+
if (value = attributes[:'merchants']).is_a?(Array)
|
43
|
+
self.merchants = value
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
@@ -67,7 +67,7 @@ module Atrium
|
|
67
67
|
def ==(o)
|
68
68
|
return true if self.equal?(o)
|
69
69
|
self.class == o.class &&
|
70
|
-
|
70
|
+
merchants == o.merchants &&
|
71
71
|
pagination == o.pagination
|
72
72
|
end
|
73
73
|
|
@@ -80,7 +80,7 @@ module Atrium
|
|
80
80
|
# Calculates hash code according to all attributes.
|
81
81
|
# @return [Fixnum] Hash code
|
82
82
|
def hash
|
83
|
-
[
|
83
|
+
[merchants, pagination].hash
|
84
84
|
end
|
85
85
|
|
86
86
|
# Builds the object from hash
|
data/lib/atrium-ruby/version.rb
CHANGED
@@ -27,7 +27,7 @@ describe 'MerchantsResponseBody' do
|
|
27
27
|
expect(@instance).to be_instance_of(Atrium::MerchantsResponseBody)
|
28
28
|
end
|
29
29
|
end
|
30
|
-
describe 'test attribute "
|
30
|
+
describe 'test attribute "merchants"' do
|
31
31
|
it 'should work' do
|
32
32
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
33
33
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: atrium-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.10.
|
4
|
+
version: 2.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MX
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|