Class: DeviantArt::Error
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
-
#error_code ⇒ Object
Returns the value of attribute error_code.
-
#error_description ⇒ Object
Returns the value of attribute error_description.
-
#error_details ⇒ Object
Returns the value of attribute error_details.
-
#status_code ⇒ Object
Returns the value of attribute status_code.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(json, status_code) ⇒ Error
constructor
A new instance of Error.
Methods inherited from Base
point_to_class, points_class_mapping, points_class_mapping=
Constructor Details
#initialize(json, status_code) ⇒ Error
Returns a new instance of Error.
7 8 9 10 |
# File 'lib/deviantart/error.rb', line 7 def initialize(json, status_code) super(json) @status_code = status_code end |
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error.
5 6 7 |
# File 'lib/deviantart/error.rb', line 5 def error @error end |
#error_code ⇒ Object
Returns the value of attribute error_code.
5 6 7 |
# File 'lib/deviantart/error.rb', line 5 def error_code @error_code end |
#error_description ⇒ Object
Returns the value of attribute error_description.
5 6 7 |
# File 'lib/deviantart/error.rb', line 5 def error_description @error_description end |
#error_details ⇒ Object
Returns the value of attribute error_details.
5 6 7 |
# File 'lib/deviantart/error.rb', line 5 def error_details @error_details end |
#status_code ⇒ Object
Returns the value of attribute status_code.
5 6 7 |
# File 'lib/deviantart/error.rb', line 5 def status_code @status_code end |