Class: Grape::Router::Any
- Inherits:
-
AttributeTranslator
- Object
- AttributeTranslator
- Grape::Router::Any
- Defined in:
- lib/grape/router.rb
Instance Method Summary collapse
-
#initialize(pattern, **attributes) ⇒ Any
constructor
A new instance of Any.
Methods inherited from AttributeTranslator
#method_missing, #respond_to_missing?, #to_h
Constructor Details
#initialize(pattern, **attributes) ⇒ Any
Returns a new instance of Any.
8 9 10 11 |
# File 'lib/grape/router.rb', line 8 def initialize(pattern, **attributes) @pattern = pattern super(attributes) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Grape::Router::AttributeTranslator