snaptrade 1.10.0 → 1.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/docs/OptionsApi.md +2 -2
- data/lib/snaptrade/api/options_api.rb +3 -3
- data/lib/snaptrade/version.rb +1 -1
- data/spec/api/options_api_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cedcc631a644ed26cc5bec004b166d8619bc18c35af5aa8d7cd847cc0a29bf60
|
4
|
+
data.tar.gz: c3747bef1d74929e1ca263aa6e935542019e4dea159541813a7e6b312f3c4d0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e2ac1f322b9b0b2296711cbea419ebe4b4e61e34e884a623a71c50d3a903761a52bd8c666e09100725bb4bb59768d358edfabd12f979130dc0a5947edf09bbc
|
7
|
+
data.tar.gz: 709f8c2e95ea81a0d50c097ed9aa2f72fd61ccba913ffb0c7d3f850fc087d46314b678037094602a4808e29f10fa244a8a2c5d2fa69987959b2f6575a6e573ce
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
data/docs/OptionsApi.md
CHANGED
@@ -287,7 +287,7 @@ begin
|
|
287
287
|
)
|
288
288
|
p status_code # => 2xx
|
289
289
|
p headers # => { ... }
|
290
|
-
p data # => Array<
|
290
|
+
p data # => Array<OptionsPosition>
|
291
291
|
rescue SnapTrade::ApiError => e
|
292
292
|
puts "Exception when calling SnapTrade::Options.list_option_holdings: #{e}"
|
293
293
|
end
|
@@ -303,7 +303,7 @@ end
|
|
303
303
|
|
304
304
|
### Return type
|
305
305
|
|
306
|
-
[**Array<
|
306
|
+
[**Array<OptionsPosition>**](OptionsPosition.md)
|
307
307
|
|
308
308
|
## place_option_strategy
|
309
309
|
|
@@ -381,7 +381,7 @@ module SnapTrade
|
|
381
381
|
# @param user_secret [String]
|
382
382
|
# @param account_id [String] The ID of the account get positions.
|
383
383
|
# @param [Hash] opts the optional parameters
|
384
|
-
# @return [Array<
|
384
|
+
# @return [Array<OptionsPosition>]
|
385
385
|
def list_option_holdings_impl(user_id, user_secret, account_id, opts = {})
|
386
386
|
data, _status_code, _headers = list_option_holdings_with_http_info(user_id, user_secret, account_id, opts)
|
387
387
|
data
|
@@ -392,7 +392,7 @@ module SnapTrade
|
|
392
392
|
# @param user_secret [String]
|
393
393
|
# @param account_id [String] The ID of the account get positions.
|
394
394
|
# @param [Hash] opts the optional parameters
|
395
|
-
# @return [Array<(Array<
|
395
|
+
# @return [Array<(Array<OptionsPosition>, Integer, Hash)>] Array<OptionsPosition> data, response status code and response headers
|
396
396
|
def list_option_holdings_with_http_info_impl(user_id, user_secret, account_id, opts = {})
|
397
397
|
if @api_client.config.debugging
|
398
398
|
@api_client.config.logger.debug 'Calling API: OptionsApi.list_option_holdings ...'
|
@@ -429,7 +429,7 @@ module SnapTrade
|
|
429
429
|
post_body = opts[:debug_body]
|
430
430
|
|
431
431
|
# return_type
|
432
|
-
return_type = opts[:debug_return_type] || 'Array<
|
432
|
+
return_type = opts[:debug_return_type] || 'Array<OptionsPosition>'
|
433
433
|
|
434
434
|
# auth_names
|
435
435
|
auth_names = opts[:debug_auth_names] || ['PartnerClientId', 'PartnerSignature', 'PartnerTimestamp']
|
data/lib/snaptrade/version.rb
CHANGED
@@ -76,7 +76,7 @@ describe 'OptionsApi' do
|
|
76
76
|
# @param user_secret
|
77
77
|
# @param account_id The ID of the account get positions.
|
78
78
|
# @param [Hash] opts the optional parameters
|
79
|
-
# @return [Array<
|
79
|
+
# @return [Array<OptionsPosition>]
|
80
80
|
describe 'list_option_holdings test' do
|
81
81
|
it 'should work' do
|
82
82
|
# 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: 1.
|
4
|
+
version: 1.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SnapTrade
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|