ish_models 0.0.33.152 → 0.0.33.153

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/warbler/ameritrade.rb +2 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eda424943e1eef920292be882d4c3d0f4de268fb556d4e85b0f099c793a577e2
4
- data.tar.gz: 5c74167f789c8ac201c90a01c3f4c4a16bfd2ea965b2191990ab6c57daae7717
3
+ metadata.gz: 8b5b1b87e7d98e765f23667d8bcf0fa8668871b6438d8f754c7f188ffbd37136
4
+ data.tar.gz: 77ad787fd7e42f057c177c542c5cfb39b6a55d068b25a335404930739e0c2e07
5
5
  SHA512:
6
- metadata.gz: 8f98bc72d8dc91b8061b28bfeec8954d283c3e811c6dc7a6e7cb2e574818417232f154c9d5271cf28a25e76f500dc637454c77c9bcb9fe43e86bb8f6a3f789fd
7
- data.tar.gz: 5a6858c1ca87bf1c3d3dc293a01263682f5dede179c1bb07380eb70c7f1a0a4451106419263b1f9c421895a49d2307a7224ad9bed0773629e05c22e24152adab
6
+ metadata.gz: 4c28e4acab55505ec235a2e767268653f6c5447b99b5fbc3718445a495ce190d6c8733d20b3e1ae761ad3199f0ce3d868f79b1f0381565c72194adcea4dc29c7
7
+ data.tar.gz: fcfad8595373f51181c50a003bbb07ee88ae030afa4f374770b04c379f91a225a14ec84ed0ab433d1def5842f0eea0d33fce784b71777d2fa6018b7ecce4c862
@@ -82,9 +82,11 @@ class ::Warbler::Ameritrade::Api
82
82
  query = { apikey: ::TD_AME[:apiKey], strikeCount: 1 }.merge opts
83
83
  path = "/v1/marketdata/chains"
84
84
  out = self.get path, { query: query }
85
+ ## out = HTTParty.get "https://api.tdameritrade.com#{path}", { query: query }
85
86
  out = out.parsed_response.deep_symbolize_keys
86
87
  tmp_sym = "#{opts[:contractType].to_s.downcase}ExpDateMap".to_sym
87
88
  out[tmp_sym].first[1].first[1][0]
88
89
  end
89
90
 
90
91
  end
92
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.33.152
4
+ version: 0.0.33.153
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox