Exception: BrickFTP::RESTfulAPI::Client::Error
- Inherits:
-
StandardError
- Object
- StandardError
- BrickFTP::RESTfulAPI::Client::Error
- Defined in:
- lib/brick_ftp/restful_api/client.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
Instance Method Summary collapse
-
#initialize(error) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(error) ⇒ Error
Returns a new instance of Error.
29 30 31 32 33 |
# File 'lib/brick_ftp/restful_api/client.rb', line 29 def initialize(error) super error.error @error = error end |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
26 27 28 |
# File 'lib/brick_ftp/restful_api/client.rb', line 26 def error @error end |