Exception: Mack::Errors::UnsupportRenderUrlMethodType

Inherits:
StandardError
  • Object
show all
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

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