Module: Resources::RestActions
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/resources/rest_actions.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
26 27 28 |
# File 'lib/resources/rest_actions.rb', line 26 def create save_resource end |
#destroy ⇒ Object
38 39 40 |
# File 'lib/resources/rest_actions.rb', line 38 def destroy destroy_resource end |
#edit ⇒ Object
30 31 32 |
# File 'lib/resources/rest_actions.rb', line 30 def edit end |
#index ⇒ Object
18 19 20 |
# File 'lib/resources/rest_actions.rb', line 18 def index end |
#new ⇒ Object
22 23 24 |
# File 'lib/resources/rest_actions.rb', line 22 def new end |
#update ⇒ Object
34 35 36 |
# File 'lib/resources/rest_actions.rb', line 34 def update save_resource end |