Class: UserPlane::RouteConcerns::AbstractNamespacedConcern
- Inherits:
-
AbstractConcern
- Object
- AbstractConcern
- UserPlane::RouteConcerns::AbstractNamespacedConcern
- Defined in:
- lib/user_plane/route_concerns.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from AbstractConcern
Instance Method Summary collapse
-
#call(mapper, concern_options = {}) ⇒ Object
The abstract concern should be able to handle resources having a preferred collection/resource target.
Methods inherited from AbstractConcern
#exists?, #initialize, #options
Constructor Details
This class inherits a constructor from UserPlane::RouteConcerns::AbstractConcern
Instance Method Details
#call(mapper, concern_options = {}) ⇒ Object
The abstract concern should be able to handle resources having a preferred collection/resource target.
48 49 50 51 52 53 54 55 |
# File 'lib/user_plane/route_concerns.rb', line 48 def call(mapper, = {}) @mapper = mapper @concern_options = mapper.namespace @namespace, path: '/' do build end end |