Exception: Mack::Errors::UnsupportRenderUrlMethodType
- Defined in:
- lib/mack/errors/errors.rb
Overview
Raised if an unsupported method, ie post or delete, is used with render url.
Instance Method Summary collapse
-
#initialize(method) ⇒ UnsupportRenderUrlMethodType
constructor
Takes the method tried.
Constructor Details
#initialize(method) ⇒ UnsupportRenderUrlMethodType
Takes the method tried.
105 106 107 |
# File 'lib/mack/errors/errors.rb', line 105 def initialize(method) super("METHOD: #{method.to_s.upcase} is unsupported by render url.") end |