Class: Nis::Struct::NetworkTime

Inherits:
Object
  • Object
show all
Includes:
Util::Assignable
Defined in:
lib/nis/struct/network_time.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Methods included from Util::Assignable

#[], #initialize, #to_hash, #to_json

Instance Attribute Details

#receiveTimeStampInteger Also known as: receive_timestamp

Returns the current value of receiveTimeStamp.

Returns:

  • (Integer)

    the current value of receiveTimeStamp



4
5
6
# File 'lib/nis/struct/network_time.rb', line 4

def receiveTimeStamp
  @receiveTimeStamp
end

#sendTimeStampInteger Also known as: send_timestamp

Returns the current value of sendTimeStamp.

Returns:

  • (Integer)

    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