Exception: Cloudinary::CarrierWave::UploadError
- Defined in:
- lib/cloudinary/carrier_wave/error.rb
Instance Attribute Summary collapse
-
#http_code ⇒ Object
readonly
Returns the value of attribute http_code.
Instance Method Summary collapse
-
#initialize(message, http_code) ⇒ UploadError
constructor
A new instance of UploadError.
Constructor Details
#initialize(message, http_code) ⇒ UploadError
Returns a new instance of UploadError.
4 5 6 7 |
# File 'lib/cloudinary/carrier_wave/error.rb', line 4 def initialize(, http_code) super() @http_code = http_code end |
Instance Attribute Details
#http_code ⇒ Object (readonly)
Returns the value of attribute http_code.
3 4 5 |
# File 'lib/cloudinary/carrier_wave/error.rb', line 3 def http_code @http_code end |