Exception: Ari::RequestError
- Inherits:
-
StandardError
- Object
- StandardError
- Ari::RequestError
- Defined in:
- lib/ari/request_error.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(code) ⇒ RequestError
constructor
A new instance of RequestError.
Constructor Details
#initialize(code) ⇒ RequestError
Returns a new instance of RequestError.
4 5 6 |
# File 'lib/ari/request_error.rb', line 4 def initialize(code) @code = code end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
3 4 5 |
# File 'lib/ari/request_error.rb', line 3 def code @code end |