Module: Status

Defined in:
lib/file_downloader/status.rb

Class Method Summary collapse

Class Method Details

.check(code) ⇒ Object

Raises:



6
7
8
# File 'lib/file_downloader/status.rb', line 6

def check(code)
  raise NotFoundError if code == '404'
end