Class: Xtb::Http::Symbol
Overview
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(symbol) ⇒ Symbol
constructor
A new instance of Symbol.
Methods inherited from Command
Constructor Details
#initialize(symbol) ⇒ Symbol
Returns a new instance of Symbol.
8 9 10 11 12 |
# File 'lib/xtb/http/symbol.rb', line 8 def initialize(symbol) @symbol = symbol super() end |
Instance Method Details
#call ⇒ Object
14 15 16 |
# File 'lib/xtb/http/symbol.rb', line 14 def call Xtb::SymbolRecord.new(**super.return_data) end |