Class: Nem::Endpoint::Timesync
- Defined in:
- lib/nem/endpoint/timesync.rb
Instance Method Summary collapse
Methods inherited from Base
#current_node, #initialize, #next_node!, #request, #request!
Constructor Details
This class inherits a constructor from Nem::Endpoint::Base
Instance Method Details
#network_time ⇒ Nem::Model::NetworkTime
5 6 7 |
# File 'lib/nem/endpoint/timesync.rb', line 5 def network_time Nem::Model::NetworkTime.new_from_network_time request!(:get, '/time-sync/network-time') end |