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: f08e2d96c61ae1138e229127724abbac929c570fa28ade6c5237cf8f68b14120
4
- data.tar.gz: 61bdce1ea25e298bb8c27777443d577c206608c8cf0beb422aba6656bbe626e1
3
+ metadata.gz: 1ba5d15a1cdcb5b07b2dd759b8c1c028fa205720762f9b3e6b96ecbc445ed25c
4
+ data.tar.gz: 2859ebc8949a5046d9522fcf6f0da9d1a8816947c3c5733d0546aa2af48e209f
5
5
  SHA512:
6
- metadata.gz: 967452b0816d315fbe62e0a142e86b545c1d22fdf93ba286da38c6f2ebdd97bbe12cfb4ef1be498f042fa6d6e38ac09fe9948431edcfd2fe398324feb16b4056
7
- data.tar.gz: 3de4cebc0d0320d76eb7ae08cf758859c7d78df31f125a5bce6be10630de50ce75d2fe5d74d9ea396f44330d1b77b1801f2595a1bc697049fe9f63918f9236b4
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.0.gem
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.0'
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
- **merchant** | [**Array<Merchant>**](Merchant.md) | | [optional]
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 :merchant
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
- :'merchant' => :'merchant',
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
- :'merchant' => :'Array<Merchant>',
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?(:'merchant')
42
- if (value = attributes[:'merchant']).is_a?(Array)
43
- self.merchant = value
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
- merchant == o.merchant &&
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
- [merchant, pagination].hash
83
+ [merchants, pagination].hash
84
84
  end
85
85
 
86
86
  # Builds the object from hash
@@ -7,5 +7,5 @@
7
7
  =end
8
8
 
9
9
  module Atrium
10
- VERSION = '2.10.0'
10
+ VERSION = '2.10.1'
11
11
  end
@@ -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 "merchant"' do
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.0
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-05-08 00:00:00.000000000 Z
11
+ date: 2020-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus