Class: MuchRails::Action::BaseRouter::RequestTypeAction
- Inherits:
-
Struct
- Object
- Struct
- MuchRails::Action::BaseRouter::RequestTypeAction
- Defined in:
- lib/much-rails/action/base_router.rb
Instance Method Summary collapse
Instance Method Details
#class_constant ⇒ Object
305 306 307 |
# File 'lib/much-rails/action/base_router.rb', line 305 def class_constant @class_constant ||= class_name.constantize end |
#constraints_lambda ⇒ Object
301 302 303 |
# File 'lib/much-rails/action/base_router.rb', line 301 def constraints_lambda request_type.constraints_lambda end |
#format ⇒ Object
309 310 311 |
# File 'lib/much-rails/action/base_router.rb', line 309 def format class_constant.format end |