Exception: ShadowfaxApi::Exception

Inherits:
Exception
  • Object
show all
Defined in:
lib/shadowfax_api/exception.rb

Class Method Summary collapse

Class Method Details

.raise_exception(exception_response) ⇒ Object



3
4
5
# File 'lib/shadowfax_api/exception.rb', line 3

def self.raise_exception(exception_response)
  new(exception_response)
end