ish_models 0.0.33.264 → 0.0.33.266
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: 8eb5db8ce22c02492c9b4c1b5d2aacf498d7765b0a2076ef913be600f5230ad0
|
4
|
+
data.tar.gz: 91f0c2b5c1a5b29391cb3989b51ba9f27016561f8287c273e1d17d300b87b9a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2a4ab8a3310ea17ad92c5fb7274be9abd88c02ae375918509724fc76d482354aa993fa6497a9605427ea680e8c55e37dd657ac948fca249d7477ff8acd6ae9f
|
7
|
+
data.tar.gz: bfdddadd74b5f5bd12610f91de2863e07761a99aa9101f384bb383bfa10b9079378911a3ad5d9082d02539ad3e4a52b94925ba3f54796314b2cca1aa9132458c
|
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
|