radar-api 0.4.0 → 0.4.1
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/gen/radar/api/common_types.rb +5 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c0e90cab42bf8ae5f2b7b1115fd9d159ed26eeb
|
4
|
+
data.tar.gz: 3feb4370e339f0a1ed4ea6245131907f9a18db7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2acf0b6ee13e396cdcbdf22adb4309ac48d3b9787730c9e55d952c693f986e216ceb517f92e56cd9742c05a74df9869d9c148672f99cd7542cb406b2a8bc0869
|
7
|
+
data.tar.gz: 71c8c669d85fe81b0e619f1bb88eef7112422621685d78e72196645b9a337011674528b88fc006159144ef1705ea60e19d4f519f727fb3469a1f81490eee433f
|
data/Gemfile.lock
CHANGED
@@ -56,7 +56,7 @@ module Radar
|
|
56
56
|
::Thrift::Struct.generate_accessors self
|
57
57
|
end
|
58
58
|
|
59
|
-
class
|
59
|
+
class CorporateBondId
|
60
60
|
include ::Thrift::Struct, ::Thrift::Struct_Union
|
61
61
|
INDEX = 1
|
62
62
|
FACTOR = 2
|
@@ -109,8 +109,8 @@ module Radar
|
|
109
109
|
SecurityId.new(:fund, val)
|
110
110
|
end
|
111
111
|
|
112
|
-
def
|
113
|
-
SecurityId.new(:
|
112
|
+
def corporate_bond(val)
|
113
|
+
SecurityId.new(:corporate_bond, val)
|
114
114
|
end
|
115
115
|
|
116
116
|
def government_bond(val)
|
@@ -120,13 +120,13 @@ module Radar
|
|
120
120
|
|
121
121
|
STOCK = 1
|
122
122
|
FUND = 2
|
123
|
-
|
123
|
+
CORPORATE_BOND = 3
|
124
124
|
GOVERNMENT_BOND = 4
|
125
125
|
|
126
126
|
FIELDS = {
|
127
127
|
STOCK => {:type => ::Thrift::Types::STRUCT, :name => 'stock', :class => ::Radar::Api::StockId},
|
128
128
|
FUND => {:type => ::Thrift::Types::STRUCT, :name => 'fund', :class => ::Radar::Api::FundId},
|
129
|
-
|
129
|
+
CORPORATE_BOND => {:type => ::Thrift::Types::STRUCT, :name => 'corporate_bond', :class => ::Radar::Api::CorporateBondId},
|
130
130
|
GOVERNMENT_BOND => {:type => ::Thrift::Types::STRUCT, :name => 'government_bond', :class => ::Radar::Api::GovernmentBondId}
|
131
131
|
}
|
132
132
|
|