Exception: Garage::HTTPError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/garage/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#statusObject

Returns the value of attribute status.



3
4
5
# File 'lib/garage/exceptions.rb', line 3

def status
  @status
end

Instance Method Details

#status_codeObject



4
5
6
# File 'lib/garage/exceptions.rb', line 4

def status_code
  Rack::Utils.status_code(status)
end