module Nis::Endpoint::Debug::TimeSynchronization

Public Instance Methods

debug_time_synchronization() click to toggle source

@return [TimeSynchronizationResult] @see nemproject.github.io/#monitoring-the-network-time

# File lib/nis/endpoint/debug/time_synchronization.rb, line 5
def debug_time_synchronization
  request!(:get, '/debug/time-synchronization') do |res|
    res[:data].map { |tsr| Nis::Struct::TimeSynchronizationResult.build(tsr) }
  end
end