Exception: Grape::Exceptions::InvalidFormatter
- Defined in:
- lib/grape/exceptions/invalid_formatter.rb
Constant Summary
Constants inherited from Base
Base::BASE_ATTRIBUTES_KEY, Base::BASE_MESSAGES_KEY, Base::FALLBACK_LOCALE
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(klass, to_format) ⇒ InvalidFormatter
constructor
A new instance of InvalidFormatter.
Methods inherited from Base
Constructor Details
#initialize(klass, to_format) ⇒ InvalidFormatter
Returns a new instance of InvalidFormatter.
6 7 8 |
# File 'lib/grape/exceptions/invalid_formatter.rb', line 6 def initialize(klass, to_format) super(message: (:invalid_formatter, klass: klass, to_format: to_format)) end |