Class: Tradier::Quote
Instance Attribute Summary collapse
-
#symbol ⇒ Object
readonly
Returns the value of attribute symbol.
Instance Method Summary collapse
Methods inherited from Base
#[], #attr_equal, attr_reader, #attrs, #attrs_equal, from_response, #initialize, #update
Constructor Details
This class inherits a constructor from Tradier::Base
Instance Attribute Details
#symbol ⇒ Object (readonly)
Returns the value of attribute symbol.
5 6 7 |
# File 'lib/tradier/quote.rb', line 5 def symbol @symbol end |
Instance Method Details
#==(quote) ⇒ Object
7 8 9 |
# File 'lib/tradier/quote.rb', line 7 def ==(quote) self.symbol == quote.symbol end |