Class: Xtb::Http::StepRules

Inherits:
Command
  • Object
show all
Defined in:
lib/xtb/http/step_rules.rb

Overview

Constant Summary collapse

StepRecord =
Data.define(:from_value, :step)

Instance Method Summary collapse

Methods inherited from Command

call, #initialize

Constructor Details

This class inherits a constructor from Xtb::Http::Command

Instance Method Details

#callObject



9
10
11
# File 'lib/xtb/http/step_rules.rb', line 9

def call
  super.return_data.map { |record| StepRecord.new(**record) }
end