Module: JPie::Controller
- Extended by:
- ActiveSupport::Concern
- Includes:
- CrudActions, ErrorHandling, JsonApiValidation, ParameterParsing, RelatedActions, RelationshipActions, Rendering
- Defined in:
- lib/jpie/controller.rb,
lib/jpie/controller/rendering.rb,
lib/jpie/controller/crud_actions.rb,
lib/jpie/controller/error_handling.rb,
lib/jpie/controller/related_actions.rb,
lib/jpie/controller/parameter_parsing.rb,
lib/jpie/controller/json_api_validation.rb,
lib/jpie/controller/relationship_actions.rb,
lib/jpie/controller/error_handling/handlers.rb,
lib/jpie/controller/relationship_validation.rb,
lib/jpie/controller/error_handling/handler_setup.rb
Defined Under Namespace
Modules: CrudActions, ErrorHandling, JsonApiValidation, ParameterParsing, RelatedActions, RelationshipActions, RelationshipValidation, Rendering
Instance Method Summary collapse
- #create_relationship ⇒ Object
- #destroy_relationship ⇒ Object
- #show_related ⇒ Object
-
#show_relationship ⇒ Object
Relationship route actions.
- #update_relationship ⇒ Object
Methods included from RelatedActions
Methods included from RelationshipActions
#relationship_create, #relationship_destroy, #relationship_show, #relationship_update
Methods included from CrudActions
#create, #destroy, #index, #show, #update
Methods included from Rendering
#deserializer, #resource_class, #serializer
Methods included from ParameterParsing
#context, #deserialize_params, #parse_include_params, #parse_pagination_params, #parse_sort_params
Instance Method Details
#create_relationship ⇒ Object
33 34 35 |
# File 'lib/jpie/controller.rb', line 33 def create_relationship relationship_create end |
#destroy_relationship ⇒ Object
37 38 39 |
# File 'lib/jpie/controller.rb', line 37 def destroy_relationship relationship_destroy end |
#show_related ⇒ Object
41 42 43 |
# File 'lib/jpie/controller.rb', line 41 def end |
#show_relationship ⇒ Object
Relationship route actions
25 26 27 |
# File 'lib/jpie/controller.rb', line 25 def show_relationship relationship_show end |
#update_relationship ⇒ Object
29 30 31 |
# File 'lib/jpie/controller.rb', line 29 def update_relationship relationship_update end |