Class: Nis::Struct::NetworkTime
- Inherits:
-
Object
- Object
- Nis::Struct::NetworkTime
- Includes:
- Util::Assignable
- Defined in:
- lib/nis/struct/network_time.rb
Instance Attribute Summary collapse
-
#receiveTimeStamp ⇒ Integer
(also: #receive_timestamp)
The current value of receiveTimeStamp.
-
#sendTimeStamp ⇒ Integer
(also: #send_timestamp)
The current value of sendTimeStamp.
Class Method Summary collapse
Methods included from Util::Assignable
#[], #initialize, #to_hash, #to_json
Instance Attribute Details
#receiveTimeStamp ⇒ Integer Also known as: receive_timestamp
Returns the current value of receiveTimeStamp.
4 5 6 |
# File 'lib/nis/struct/network_time.rb', line 4 def receiveTimeStamp @receiveTimeStamp end |
#sendTimeStamp ⇒ Integer Also known as: send_timestamp
Returns the current value of sendTimeStamp.
4 5 6 |
# File 'lib/nis/struct/network_time.rb', line 4 def sendTimeStamp @sendTimeStamp end |
Class Method Details
.build(attrs) ⇒ Object
13 14 15 |
# File 'lib/nis/struct/network_time.rb', line 13 def self.build(attrs) new(attrs) end |