lib/models/ib/index.rb in ib-api-972.5 vs lib/models/ib/index.rb in ib-api-972.5.1

- old
+ new

@@ -2,10 +2,10 @@ module IB class Index < Contract validates_format_of :sec_type, :with => /\Aind\z/, :message => "should be a Index" def default_attributes - super.merge :sec_type => :ind + super.merge :sec_type => 'IND' end def to_human "<Index: " + [symbol, currency].join(" ") + " (#{description}) >" end