Class: Xtb::Http::ServerTime

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

Overview

Constant Summary collapse

ServerTimeResponse =
Data.define(:time, :time_string)

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/server_time.rb', line 9

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