Class: WonkoTheSane::WonkoWeb::UploadError

Inherits:
ResponseError
  • Object
show all
Defined in:
lib/wonko_the_sane/wonkoweb_uploader.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#errorsObject (readonly)

Returns the value of attribute errors.



6
7
8
# File 'lib/wonko_the_sane/wonkoweb_uploader.rb', line 6

def errors
  @errors
end