Class: Xtb::Http::CurrentUserData

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

Overview

Constant Summary collapse

CurrentUserDataResponse =
Data.define(:company_unit, :currency, :group, :ib_account, :leverage,
:leverage_multiplier, :spread_type, :trailing_stop)

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



10
11
12
# File 'lib/xtb/http/current_user_data.rb', line 10

def call
  CurrentUserDataResponse.new(**super.return_data)
end