Exception: ActsAsBookable::InitializationError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/acts_as_bookable.rb

Instance Method Summary collapse

Constructor Details

#initialize(model, message) ⇒ InitializationError

Returns a new instance of InitializationError.



24
25
26
# File 'lib/acts_as_bookable.rb', line 24

def initialize model, message
  super "Error initializing acts_as_bookable on #{model.to_s} - " + message
end