Class: Xtb::Http::Symbol

Inherits:
Command show all
Defined in:
lib/xtb/http/symbol.rb

Overview

Instance Method Summary collapse

Methods inherited from Command

call

Constructor Details

#initialize(symbol) ⇒ Symbol

Returns a new instance of Symbol.

Parameters:



8
9
10
11
12
# File 'lib/xtb/http/symbol.rb', line 8

def initialize(symbol)
  @symbol = symbol

  super()
end

Instance Method Details

#callObject



14
15
16
# File 'lib/xtb/http/symbol.rb', line 14

def call
  Xtb::SymbolRecord.new(**super.return_data)
end