Method: Pdfcrowd::Error#initialize
- Defined in:
- lib/pdfcrowd.rb
#initialize(error, http_code = nil) ⇒ Error
Returns a new instance of Error.
45 46 47 48 49 |
# File 'lib/pdfcrowd.rb', line 45 def initialize(error, http_code=nil) super() @http_code = http_code @error = error end |