Commit 83e2e624902e50072d96686023568e7575831a90
1 parent
54d04532
Exists in
master
and in
4 other branches
Mention methods that should be implemented inside service
Showing
1 changed file
with
8 additions
and
0 deletions
Show diff stats
app/models/service.rb
| ... | ... | @@ -28,15 +28,23 @@ class Service < ActiveRecord::Base |
| 28 | 28 | end |
| 29 | 29 | |
| 30 | 30 | def title |
| 31 | + # implement inside child | |
| 31 | 32 | end |
| 32 | 33 | |
| 33 | 34 | def description |
| 35 | + # implement inside child | |
| 34 | 36 | end |
| 35 | 37 | |
| 36 | 38 | def to_param |
| 39 | + # implement inside child | |
| 37 | 40 | end |
| 38 | 41 | |
| 39 | 42 | def fields |
| 43 | + # implement inside child | |
| 40 | 44 | [] |
| 41 | 45 | end |
| 46 | + | |
| 47 | + def execute | |
| 48 | + # implement inside child | |
| 49 | + end | |
| 42 | 50 | end | ... | ... |