Class: API_Fuzzer::Error
- Inherits:
-
Object
- Object
- API_Fuzzer::Error
- Defined in:
- lib/API_Fuzzer/error.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#status ⇒ Object
Returns the value of attribute status.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(options = {}) ⇒ Error
Returns a new instance of Error.
5 6 7 8 9 |
# File 'lib/API_Fuzzer/error.rb', line 5 def initialize( = {}) @description = .delete(:description) || nil @status = .delete(:status) @value = .delete(:value) end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
3 4 5 |
# File 'lib/API_Fuzzer/error.rb', line 3 def description @description end |
#status ⇒ Object
Returns the value of attribute status.
3 4 5 |
# File 'lib/API_Fuzzer/error.rb', line 3 def status @status end |
#value ⇒ Object
Returns the value of attribute value.
3 4 5 |
# File 'lib/API_Fuzzer/error.rb', line 3 def value @value end |