Class: Error

Inherits:
Object
  • Object
show all
Defined in:
lib/default.rb

Overview

/Error

type - SOAP::SOAPString
code - SOAP::SOAPString
message - SOAP::SOAPString
detail - Error::Detail

Defined Under Namespace

Classes: Detail

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type = nil, code = nil, message = nil, detail = nil) ⇒ Error

Returns a new instance of Error.



1479
1480
1481
1482
1483
1484
# File 'lib/default.rb', line 1479

def initialize(type = nil, code = nil, message = nil, detail = nil)
  @type = type
  @code = code
  @message = message
  @detail = detail
end

Instance Attribute Details

#codeObject

Returns the value of attribute code.



1475
1476
1477
# File 'lib/default.rb', line 1475

def code
  @code
end

#detailObject

Returns the value of attribute detail.



1477
1478
1479
# File 'lib/default.rb', line 1477

def detail
  @detail
end

#messageObject

Returns the value of attribute message.



1476
1477
1478
# File 'lib/default.rb', line 1476

def message
  @message
end

#typeObject

Returns the value of attribute type.



1474
1475
1476
# File 'lib/default.rb', line 1474

def type
  @type
end