Exception: OMF::SFA::AM::Rest::UnsupportedMethodException

Inherits:
RackException
  • Object
show all
Defined in:
lib/omf-sfa/am/am-rest/rest_handler.rb

Instance Attribute Summary

Attributes inherited from RackException

#reply

Instance Method Summary collapse

Constructor Details

#initialize(method_name = nil, class_name = nil) ⇒ UnsupportedMethodException

Returns a new instance of UnsupportedMethodException.



62
63
64
# File 'lib/omf-sfa/am/am-rest/rest_handler.rb', line 62

def initialize(method_name = nil, class_name = nil)
  super 403, "Unsupported Method '#{class_name || 'Unknown'}::#{method_name || 'Unknown'}'"
end