Class: Alfresco4r::AlfError
- Inherits:
-
Object
- Object
- Alfresco4r::AlfError
- Defined in:
- lib/alfresco4r/abstract_service.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(msg) ⇒ AlfError
constructor
A new instance of AlfError.
Constructor Details
#initialize(msg) ⇒ AlfError
Returns a new instance of AlfError.
125 126 127 128 |
# File 'lib/alfresco4r/abstract_service.rb', line 125 def initialize(msg) @message = msg @status = "Failure" end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
124 125 126 |
# File 'lib/alfresco4r/abstract_service.rb', line 124 def @message end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
124 125 126 |
# File 'lib/alfresco4r/abstract_service.rb', line 124 def status @status end |