Class: Brickwall::API::Error
- Inherits:
-
Struct
- Object
- Struct
- Brickwall::API::Error
- Defined in:
- lib/brickwall/api/error.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#error ⇒ Object
Returns the value of attribute error.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code
3 4 5 |
# File 'lib/brickwall/api/error.rb', line 3 def code @code end |
#error ⇒ Object
Returns the value of attribute error
3 4 5 |
# File 'lib/brickwall/api/error.rb', line 3 def error @error end |
#type ⇒ Object
Returns the value of attribute type
3 4 5 |
# File 'lib/brickwall/api/error.rb', line 3 def type @type end |
Instance Method Details
#user_error? ⇒ Boolean
6 7 8 9 10 11 12 13 |
# File 'lib/brickwall/api/error.rb', line 6 def user_error? case code when 3003..3112 then true when 3200 then true when 5000 then true else false end end |