Class: WonkoTheSane::WonkoWeb::UploadError
- Inherits:
-
ResponseError
- Object
- ResponseError
- WonkoTheSane::WonkoWeb::UploadError
- Defined in:
- lib/wonko_the_sane/wonkoweb_uploader.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(errors) ⇒ UploadError
constructor
A new instance of UploadError.
Constructor Details
#initialize(errors) ⇒ UploadError
8 9 10 |
# File 'lib/wonko_the_sane/wonkoweb_uploader.rb', line 8 def initialize(errors) @errors = errors end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
6 7 8 |
# File 'lib/wonko_the_sane/wonkoweb_uploader.rb', line 6 def errors @errors end |