snaptrade 2.0.5 → 2.0.6

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: ba4c97143d9a30a5a3e879d49c4e5f4d74c5c99df7e0ae8c30253dc35ef7e470
4
- data.tar.gz: aed56338d5c6e95d07c24028ddcc65ffe37ce3f6d1998c7b11b600eed6487f8a
3
+ metadata.gz: 2497212ff05ea0018179af0a13d124cb440c5ca8e66cc3cc75aa3dcace3a7e8b
4
+ data.tar.gz: 00c690703e5d62849b81154524ea3edd739aedb2ec42716e759553c76c9f4719
5
5
  SHA512:
6
- metadata.gz: a7174f4c1299e4388d4927725221014d866065b850ee68463df70b85ff89d2b083aa2f70e3537cafff574856958fc9b78a1ebae1931701b380c23a07275406a8
7
- data.tar.gz: e12a6d85144b6392487076de00b1bbfbd3db0d55ec22973edcbed1694270725e211218719dab3a60bea7069d081aac1f246dfa5d56b33849f2395659b33c320b
6
+ metadata.gz: a0ecfcb2473d49cc57b9f8e9d543434a36eea93b5c53a971f8c06409f10278a296c6766e4e5443b50dadc76c70e52f8fabba7414a17829850719c0a810450496
7
+ data.tar.gz: 787359393a9d2fa4ce2e69bc76b0c36914ccd6032cc14510f20197aa7474f3c59668ecde4b22b392f8cb0636c6155757bf67766325846832a47c3fd199fff5f3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- snaptrade (2.0.4)
4
+ snaptrade (2.0.5)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart (~> 1.0, >= 1.0.4)
7
7
 
data/README.md CHANGED
@@ -9,7 +9,7 @@ For more information, please visit [https://snaptrade.com/](https://snaptrade.co
9
9
  Add to Gemfile:
10
10
 
11
11
  ```ruby
12
- gem 'snaptrade', '~> 2.0.5'
12
+ gem 'snaptrade', '~> 2.0.6'
13
13
  ```
14
14
 
15
15
  ## Getting Started
data/docs/Brokerage.md CHANGED
@@ -9,6 +9,8 @@
9
9
  | **display_name** | **String** | | [optional] |
10
10
  | **description** | **String** | | [optional] |
11
11
  | **aws_s3_logo_url** | **String** | | [optional] |
12
+ | **aws_s3_square_logo_url** | **String** | | [optional] |
13
+ | **open_url** | **String** | | [optional] |
12
14
  | **slug** | **String** | | [optional] |
13
15
  | **url** | **String** | | [optional] |
14
16
  | **enabled** | **Boolean** | | [optional] |
@@ -34,6 +36,8 @@ instance = SnapTrade::Brokerage.new(
34
36
  display_name: Questrade,
35
37
  description: Questrade is an online brokerage firm and wealth management firm based in Canada. It is Canada&#39;s largest discount broker.,
36
38
  aws_s3_logo_url: https://www.snaptrade.com/questrade.logo,
39
+ aws_s3_square_logo_url: https://www.snaptrade.com/questrade.logo,
40
+ open_url: https://www.brokerage.com,
37
41
  slug: QUESTRADE,
38
42
  url: https://www.questrade.com/,
39
43
  enabled: true,
@@ -23,6 +23,10 @@ module SnapTrade
23
23
 
24
24
  attr_accessor :aws_s3_logo_url
25
25
 
26
+ attr_accessor :aws_s3_square_logo_url
27
+
28
+ attr_accessor :open_url
29
+
26
30
  attr_accessor :slug
27
31
 
28
32
  attr_accessor :url
@@ -58,6 +62,8 @@ module SnapTrade
58
62
  :'display_name' => :'display_name',
59
63
  :'description' => :'description',
60
64
  :'aws_s3_logo_url' => :'aws_s3_logo_url',
65
+ :'aws_s3_square_logo_url' => :'aws_s3_square_logo_url',
66
+ :'open_url' => :'open_url',
61
67
  :'slug' => :'slug',
62
68
  :'url' => :'url',
63
69
  :'enabled' => :'enabled',
@@ -87,6 +93,8 @@ module SnapTrade
87
93
  :'display_name' => :'String',
88
94
  :'description' => :'String',
89
95
  :'aws_s3_logo_url' => :'String',
96
+ :'aws_s3_square_logo_url' => :'String',
97
+ :'open_url' => :'String',
90
98
  :'slug' => :'String',
91
99
  :'url' => :'String',
92
100
  :'enabled' => :'Boolean',
@@ -106,6 +114,8 @@ module SnapTrade
106
114
  # List of attributes with nullable: true
107
115
  def self.openapi_nullable
108
116
  Set.new([
117
+ :'aws_s3_square_logo_url',
118
+ :'open_url',
109
119
  :'allows_fractional_units',
110
120
  :'allows_trading',
111
121
  :'has_reporting',
@@ -148,6 +158,14 @@ module SnapTrade
148
158
  self.aws_s3_logo_url = attributes[:'aws_s3_logo_url']
149
159
  end
150
160
 
161
+ if attributes.key?(:'aws_s3_square_logo_url')
162
+ self.aws_s3_square_logo_url = attributes[:'aws_s3_square_logo_url']
163
+ end
164
+
165
+ if attributes.key?(:'open_url')
166
+ self.open_url = attributes[:'open_url']
167
+ end
168
+
151
169
  if attributes.key?(:'slug')
152
170
  self.slug = attributes[:'slug']
153
171
  end
@@ -226,6 +244,8 @@ module SnapTrade
226
244
  display_name == o.display_name &&
227
245
  description == o.description &&
228
246
  aws_s3_logo_url == o.aws_s3_logo_url &&
247
+ aws_s3_square_logo_url == o.aws_s3_square_logo_url &&
248
+ open_url == o.open_url &&
229
249
  slug == o.slug &&
230
250
  url == o.url &&
231
251
  enabled == o.enabled &&
@@ -250,7 +270,7 @@ module SnapTrade
250
270
  # Calculates hash code according to all attributes.
251
271
  # @return [Integer] Hash code
252
272
  def hash
253
- [id, name, display_name, description, aws_s3_logo_url, slug, url, enabled, maintenance_mode, allows_fractional_units, allows_trading, has_reporting, is_real_time_connection, allows_trading_through_snaptrade_api, is_scraping_integration, default_currency, brokerage_type, exchanges].hash
273
+ [id, name, display_name, description, aws_s3_logo_url, aws_s3_square_logo_url, open_url, slug, url, enabled, maintenance_mode, allows_fractional_units, allows_trading, has_reporting, is_real_time_connection, allows_trading_through_snaptrade_api, is_scraping_integration, default_currency, brokerage_type, exchanges].hash
254
274
  end
255
275
 
256
276
  # Builds the object from hash
@@ -9,5 +9,5 @@ Contact: api@snaptrade.com
9
9
  =end
10
10
 
11
11
  module SnapTrade
12
- VERSION = '2.0.5'
12
+ VERSION = '2.0.6'
13
13
  end
@@ -51,6 +51,18 @@ describe SnapTrade::Brokerage do
51
51
  end
52
52
  end
53
53
 
54
+ describe 'test attribute "aws_s3_square_logo_url"' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
57
+ end
58
+ end
59
+
60
+ describe 'test attribute "open_url"' do
61
+ it 'should work' do
62
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
63
+ end
64
+ end
65
+
54
66
  describe 'test attribute "slug"' do
55
67
  it 'should work' do
56
68
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snaptrade
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.5
4
+ version: 2.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - SnapTrade
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-14 00:00:00.000000000 Z
11
+ date: 2024-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday