radar-api 0.12.2 → 0.12.3

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: fc050777b90f888100b7cc06c9b87027e5c9bb38a840c603a517ffb6e66cbd1a
4
- data.tar.gz: 182c2261adf5d8da6932560814611c79bb08750a28040a1eeb1040baf4f8f3fb
3
+ metadata.gz: b8fe6f11a24c26867e606eb7b2219068a4c813207d8bcc10619fa1d82ea51828
4
+ data.tar.gz: 0651d361582a841408e119644cc87038616991322ab8dcb74cfb80d4833a97f8
5
5
  SHA512:
6
- metadata.gz: e31195e03d1bbcb1f8c0e4a1bdf8ea1913df87648b1ca36ccd9539187b64fb0edce7f03290ad3b8c4a304dfd3ca388e4e83dc89776917633e64c4755fefa0b10
7
- data.tar.gz: d53ff1457d5a3e18ed6ed2b8220966b1dd1d831c330e514f065f4b2d7e1eabdb55529dba79cdb10e45492eafea5e804d8a78295736fb516d641bf830b744eca7
6
+ metadata.gz: 27d93ef2907e5c39520ea89fec40983c4f7706ff7d20a3d2f33f04c812018f4a23f6f92480c7c9486bc694c06ff71c250eaab223c36b381a730d3aff774b0b92
7
+ data.tar.gz: ed5194c1c845e250707d0019664139a9b27b975943077768a24f9a42b70996d321b0799de6d93368475a0cf11c4efd8642a3a6350c781a0e193fa5f56d416148
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- radar-api (0.12.2)
4
+ radar-api (0.12.3)
5
5
  thrift (~> 0.9.0)
6
6
 
7
7
  GEM
@@ -46,13 +46,13 @@ module Radar
46
46
  return
47
47
  end
48
48
 
49
- def fetch_portfolio(username, password)
50
- send_fetch_portfolio(username, password)
49
+ def fetch_portfolio(username, password, date)
50
+ send_fetch_portfolio(username, password, date)
51
51
  return recv_fetch_portfolio()
52
52
  end
53
53
 
54
- def send_fetch_portfolio(username, password)
55
- send_message('fetch_portfolio', Fetch_portfolio_args, :username => username, :password => password)
54
+ def send_fetch_portfolio(username, password, date)
55
+ send_message('fetch_portfolio', Fetch_portfolio_args, :username => username, :password => password, :date => date)
56
56
  end
57
57
 
58
58
  def recv_fetch_portfolio()
@@ -98,7 +98,7 @@ module Radar
98
98
  args = read_args(iprot, Fetch_portfolio_args)
99
99
  result = Fetch_portfolio_result.new()
100
100
  begin
101
- result.success = @handler.fetch_portfolio(args.username, args.password)
101
+ result.success = @handler.fetch_portfolio(args.username, args.password, args.date)
102
102
  rescue ::Radar::Api::AuthenticationError => auth_error
103
103
  result.auth_error = auth_error
104
104
  rescue ::Radar::Api::SystemUnavailableError => system_unavailable
@@ -195,10 +195,12 @@ module Radar
195
195
  include ::Thrift::Struct, ::Thrift::Struct_Union
196
196
  USERNAME = 1
197
197
  PASSWORD = 2
198
+ DATE = 3
198
199
 
199
200
  FIELDS = {
200
201
  USERNAME => {:type => ::Thrift::Types::STRING, :name => 'username'},
201
- PASSWORD => {:type => ::Thrift::Types::STRING, :name => 'password'}
202
+ PASSWORD => {:type => ::Thrift::Types::STRING, :name => 'password'},
203
+ DATE => {:type => ::Thrift::Types::I64, :name => 'date'}
202
204
  }
203
205
 
204
206
  def struct_fields; FIELDS; end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radar-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.2
4
+ version: 0.12.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - André Aizim Kelmanson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-09 00:00:00.000000000 Z
11
+ date: 2019-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -113,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
113
113
  - !ruby/object:Gem::Version
114
114
  version: '0'
115
115
  requirements: []
116
- rubygems_version: 3.0.6
116
+ rubygems_version: 3.0.3
117
117
  signing_key:
118
118
  specification_version: 4
119
119
  summary: Radar API