class SweetActions::Exceptions::ActionNotFound
Attributes
class_name[R]
path[R]
Public Class Methods
new(args = {})
click to toggle source
# File lib/sweet_actions/exceptions.rb, line 8 def initialize(args = {}) @path = args.fetch(:path, '') @class_name = args.fetch(:class_name, '') end
Public Instance Methods
message()
click to toggle source
# File lib/sweet_actions/exceptions.rb, line 13 def message "Action class not found. Please make sure #{class_name} exists at app/actions/#{path}." end