Exception: Mack::Errors::UnsupportRenderUrlMethodType

Inherits:
StandardError
  • Object
show all
Defined in:
lib/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.



98
99
100
# File 'lib/errors/errors.rb', line 98

def initialize(method)
  super("METHOD: #{method.to_s.upcase} is unsupported by render url.")
end