Module: Motr::Cargo::Delivery::Actions
- Defined in:
- lib/motr/cargo/delivery/actions.rb
Instance Method Summary collapse
- #create ⇒ Object
- #destroy ⇒ Object
- #edit ⇒ Object
- #index ⇒ Object
- #new ⇒ Object
- #show ⇒ Object
- #update ⇒ Object
Instance Method Details
#create ⇒ Object
20 21 22 |
# File 'lib/motr/cargo/delivery/actions.rb', line 20 def create end |
#destroy ⇒ Object
32 33 34 |
# File 'lib/motr/cargo/delivery/actions.rb', line 32 def destroy end |
#edit ⇒ Object
24 25 26 |
# File 'lib/motr/cargo/delivery/actions.rb', line 24 def edit end |
#index ⇒ Object
6 7 8 9 10 |
# File 'lib/motr/cargo/delivery/actions.rb', line 6 def index resource = scope_class.all set_instance_var(resource) respond_with(get_instance_var) end |
#new ⇒ Object
16 17 18 |
# File 'lib/motr/cargo/delivery/actions.rb', line 16 def new end |
#show ⇒ Object
12 13 14 |
# File 'lib/motr/cargo/delivery/actions.rb', line 12 def show end |
#update ⇒ Object
28 29 30 |
# File 'lib/motr/cargo/delivery/actions.rb', line 28 def update end |