Class: Nis::Struct::Error
- Inherits:
-
Object
- Object
- Nis::Struct::Error
- Includes:
- Util::Assignable
- Defined in:
- lib/nis/struct/error.rb
Overview
Instance Attribute Summary collapse
-
#error ⇒ String
The current value of error.
-
#message ⇒ String
The current value of message.
-
#status ⇒ Integer
The current value of status.
-
#timeStamp ⇒ Integer
(also: #timestamp)
The current value of timeStamp.
Class Method Summary collapse
Methods included from Util::Assignable
#[], #initialize, #to_hash, #to_json
Instance Attribute Details
#error ⇒ String
Returns the current value of error.
7 8 9 |
# File 'lib/nis/struct/error.rb', line 7 def error @error end |
#message ⇒ String
Returns the current value of message.
7 8 9 |
# File 'lib/nis/struct/error.rb', line 7 def @message end |
#status ⇒ Integer
Returns the current value of status.
7 8 9 |
# File 'lib/nis/struct/error.rb', line 7 def status @status end |
#timeStamp ⇒ Integer Also known as: timestamp
Returns the current value of timeStamp.
7 8 9 |
# File 'lib/nis/struct/error.rb', line 7 def timeStamp @timeStamp end |
Class Method Details
.build(attrs) ⇒ Object
14 15 16 |
# File 'lib/nis/struct/error.rb', line 14 def self.build(attrs) new(attrs) end |