Module: Nis::Endpoint::TimeSync::NetworkTime

Included in:
Nis
Defined in:
lib/nis/endpoint/time_sync/network_time.rb

Instance Method Summary collapse

Instance Method Details

#time_sync_network_timeNis::Struct::NetworkTime



4
5
6
7
8
# File 'lib/nis/endpoint/time_sync/network_time.rb', line 4

def time_sync_network_time
  request!(:get, '/time-sync/network-time') do |res|
    Nis::Struct::NetworkTime.build res
  end
end