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,15 +28,23 @@ class Service < ActiveRecord::Base | ||
| 28 | end | 28 | end |
| 29 | 29 | ||
| 30 | def title | 30 | def title |
| 31 | + # implement inside child | ||
| 31 | end | 32 | end |
| 32 | 33 | ||
| 33 | def description | 34 | def description |
| 35 | + # implement inside child | ||
| 34 | end | 36 | end |
| 35 | 37 | ||
| 36 | def to_param | 38 | def to_param |
| 39 | + # implement inside child | ||
| 37 | end | 40 | end |
| 38 | 41 | ||
| 39 | def fields | 42 | def fields |
| 43 | + # implement inside child | ||
| 40 | [] | 44 | [] |
| 41 | end | 45 | end |
| 46 | + | ||
| 47 | + def execute | ||
| 48 | + # implement inside child | ||
| 49 | + end | ||
| 42 | end | 50 | end |