Class: Kanpachi::Error
- Inherits:
-
Object
- Object
- Kanpachi::Error
- Defined in:
- lib/kanpachi/error.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#response ⇒ Object
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(name) ⇒ Error
constructor
A new instance of Error.
Constructor Details
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
6 7 8 |
# File 'lib/kanpachi/error.rb', line 6 def description @description end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
5 6 7 |
# File 'lib/kanpachi/error.rb', line 5 def name @name end |
#response ⇒ Object
Returns the value of attribute response.
7 8 9 |
# File 'lib/kanpachi/error.rb', line 7 def response @response end |