Exception: Grape::DSL::Declared::MethodNotYetAvailable

Inherits:
StandardError
  • Object
show all
Defined in:
lib/grape/dsl/declared.rb

Overview

Denotes a situation where a DSL method has been invoked in a filter which it should not yet be available in

Instance Method Summary collapse

Constructor Details

#initialize(msg = '#declared is not available prior to parameter validation') ⇒ MethodNotYetAvailable

Returns a new instance of MethodNotYetAvailable.



9
10
11
# File 'lib/grape/dsl/declared.rb', line 9

def initialize(msg = '#declared is not available prior to parameter validation')
  super
end