Exception: OMF::SFA::AM::Rest::UnsupportedMethodException
- Inherits:
-
RackException
- Object
- Exception
- RackException
- OMF::SFA::AM::Rest::UnsupportedMethodException
- Defined in:
- lib/omf-sfa/am/am-rest/rest_handler.rb
Instance Attribute Summary
Attributes inherited from RackException
Instance Method Summary collapse
-
#initialize(method_name = nil, class_name = nil) ⇒ UnsupportedMethodException
constructor
A new instance of UnsupportedMethodException.
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 |