Exception: ActsAsBookable::OptionsInvalid

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

Instance Method Summary collapse

Constructor Details

#initialize(model, message) ⇒ OptionsInvalid

Returns a new instance of OptionsInvalid.



30
31
32
# File 'lib/acts_as_bookable.rb', line 30

def initialize model, message
  super "Error validating options for #{model.to_s} - " + message
end