snaptrade 2.0.102 → 2.0.103

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
  SHA256:
3
- metadata.gz: 169f9774b5b420a98e8ca6a42d8d67e2a854f6497e9368e5ca328a7b83b6bb1c
4
- data.tar.gz: 10f526d8536312c3bbc078dfd840ba58e5a445e101ece4c0ae72b7f9665b4c5d
3
+ metadata.gz: 3abd6cc69edc0e11cbe28adec3a9d90bf75862eff3c58782d0dfbf1a36ee587d
4
+ data.tar.gz: b73073a7b46ca5351bf798be2629fa211e862a702c7168f2ea05d9f32e3baf43
5
5
  SHA512:
6
- metadata.gz: 4887ea53ef0c40c650470b500c4d49c1d17c0e38ced3e5c0d7dcaa1938f784421b7a7f8dcb32433d9cb4fd64fc692a27a6502bd8d4f3f9bcec2257e94a5c4d44
7
- data.tar.gz: 0b687f952ac29eb90f0d35ac1a0a8e9f2ea4bf9cea160e422f3374953118650026ee99e4b6e2e93c5ab044bb654fe089448068d2b8869dbe7b8bda6901bd21ab
6
+ metadata.gz: 8378a1659d514a0c653ae803ec8b9585af32082b188e20608cd9f8ea775649d1f1061b65256210e6ffaa2f72d0d1a630ad3c3cd31574162a1c2c46e6d79807cb
7
+ data.tar.gz: ccc9004fdfff54991047ea2af039a005e6eef2cf247906ae7294070334d2580564204ca4714fd106a1f0e76156abf2ed78f00e105c504064920c250134aff5d9
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- snaptrade (2.0.102)
4
+ snaptrade (2.0.103)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart (~> 1.0, >= 1.0.4)
7
7
 
data/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  Connect brokerage accounts to your app for live positions and trading
8
8
 
9
- [![npm](https://img.shields.io/badge/gem-v2.0.102-blue)](https://rubygems.org/gems/snaptrade/versions/2.0.102)
9
+ [![npm](https://img.shields.io/badge/gem-v2.0.103-blue)](https://rubygems.org/gems/snaptrade/versions/2.0.103)
10
10
  [![More Info](https://img.shields.io/badge/More%20Info-Click%20Here-orange)](https://snaptrade.com/)
11
11
 
12
12
  </div>
@@ -82,7 +82,7 @@ Connect brokerage accounts to your app for live positions and trading
82
82
  Add to Gemfile:
83
83
 
84
84
  ```ruby
85
- gem 'snaptrade', '~> 2.0.102'
85
+ gem 'snaptrade', '~> 2.0.103'
86
86
  ```
87
87
 
88
88
  ## Getting Started<a id="getting-started"></a>
@@ -39,6 +39,9 @@ module SnapTrade
39
39
  # Timestamp of when the connection was last updated in SnapTrade. This field is deprecated. Please let us know if you have a valid use case for this field.
40
40
  attr_accessor :updated_date
41
41
 
42
+ # Whether the connection is eligible for a payout.
43
+ attr_accessor :is_eligible_for_payout
44
+
42
45
  # Attribute mapping from ruby-style variable name to JSON key.
43
46
  def self.attribute_map
44
47
  {
@@ -50,7 +53,8 @@ module SnapTrade
50
53
  :'disabled' => :'disabled',
51
54
  :'disabled_date' => :'disabled_date',
52
55
  :'meta' => :'meta',
53
- :'updated_date' => :'updated_date'
56
+ :'updated_date' => :'updated_date',
57
+ :'is_eligible_for_payout' => :'is_eligible_for_payout'
54
58
  }
55
59
  end
56
60
 
@@ -70,7 +74,8 @@ module SnapTrade
70
74
  :'disabled' => :'Boolean',
71
75
  :'disabled_date' => :'Time',
72
76
  :'meta' => :'Hash<String, Object>',
73
- :'updated_date' => :'Time'
77
+ :'updated_date' => :'Time',
78
+ :'is_eligible_for_payout' => :'Boolean'
74
79
  }
75
80
  end
76
81
 
@@ -133,6 +138,10 @@ module SnapTrade
133
138
  if attributes.key?(:'updated_date')
134
139
  self.updated_date = attributes[:'updated_date']
135
140
  end
141
+
142
+ if attributes.key?(:'is_eligible_for_payout')
143
+ self.is_eligible_for_payout = attributes[:'is_eligible_for_payout']
144
+ end
136
145
  end
137
146
 
138
147
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -161,7 +170,8 @@ module SnapTrade
161
170
  disabled == o.disabled &&
162
171
  disabled_date == o.disabled_date &&
163
172
  meta == o.meta &&
164
- updated_date == o.updated_date
173
+ updated_date == o.updated_date &&
174
+ is_eligible_for_payout == o.is_eligible_for_payout
165
175
  end
166
176
 
167
177
  # @see the `==` method
@@ -173,7 +183,7 @@ module SnapTrade
173
183
  # Calculates hash code according to all attributes.
174
184
  # @return [Integer] Hash code
175
185
  def hash
176
- [id, created_date, brokerage, name, type, disabled, disabled_date, meta, updated_date].hash
186
+ [id, created_date, brokerage, name, type, disabled, disabled_date, meta, updated_date, is_eligible_for_payout].hash
177
187
  end
178
188
 
179
189
  # Builds the object from hash
@@ -8,5 +8,5 @@ Contact: api@snaptrade.com
8
8
  =end
9
9
 
10
10
  module SnapTrade
11
- VERSION = '2.0.102'
11
+ VERSION = '2.0.103'
12
12
  end
@@ -74,4 +74,10 @@ describe SnapTrade::BrokerageAuthorization do
74
74
  end
75
75
  end
76
76
 
77
+ describe 'test attribute "is_eligible_for_payout"' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
77
83
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snaptrade
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.102
4
+ version: 2.0.103
5
5
  platform: ruby
6
6
  authors:
7
7
  - SnapTrade