ish_models 0.0.33.264 → 0.0.33.265
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/iro/option_watch.rb +4 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1feaa866f501a91b64f3099038f17839932e6fa8f64aa47480da8f619f72382b
|
4
|
+
data.tar.gz: c23788810130831b83b44bb41b293bfe822f7775585e0496def49976af3c2366
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a325995f72c871c6a31db6c59862cbc96ff6f5d42faea3dac3f06179469224de2b4258de05c8b9de9b3256a313d7cffe33b6c0313c9cec2a610417e6967bb0cc
|
7
|
+
data.tar.gz: 16c7fa681f9af5ea0c88a017bcd8c8f7003cd42854b155046cb7ca6de7642edcb1bf52efb7cac96770e34b12cbcb3d3df0094f9cd618c409cba55dff048f0357
|
data/lib/iro/option_watch.rb
CHANGED
@@ -12,9 +12,10 @@ class Iro::OptionWatch
|
|
12
12
|
|
13
13
|
field :symbol # like NVDA_021822C230
|
14
14
|
|
15
|
-
KIND_OPTION
|
16
|
-
KIND_STOCK
|
17
|
-
|
15
|
+
KIND_OPTION = 'option'
|
16
|
+
KIND_STOCK = 'stock'
|
17
|
+
KIND_GET_CHAINS = 'get-chains'
|
18
|
+
KINDS = [ KIND_OPTION, KIND_STOCK, KIND_GET_CHAINS ]
|
18
19
|
field :kind, type: String
|
19
20
|
validates :kind, presence: true
|
20
21
|
def self.kinds_list
|