Class: Nis::Struct::Error

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

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Methods included from Util::Assignable

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

Instance Attribute Details

#errorString


7
8
9
# File 'lib/nis/struct/error.rb', line 7

def error
  @error
end

#messageString


7
8
9
# File 'lib/nis/struct/error.rb', line 7

def message
  @message
end

#statusInteger


7
8
9
# File 'lib/nis/struct/error.rb', line 7

def status
  @status
end

#timeStampInteger Also known as: 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