Class: Grape::Router::Any

Inherits:
AttributeTranslator show all
Defined in:
lib/grape/router.rb

Instance Method Summary collapse

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