Mention methods that should be implemented inside service
This commit is contained in:
parent
54d0453234
commit
83e2e62490
1 changed files with 8 additions and 0 deletions
|
@ -28,15 +28,23 @@ class Service < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def title
|
||||
# implement inside child
|
||||
end
|
||||
|
||||
def description
|
||||
# implement inside child
|
||||
end
|
||||
|
||||
def to_param
|
||||
# implement inside child
|
||||
end
|
||||
|
||||
def fields
|
||||
# implement inside child
|
||||
[]
|
||||
end
|
||||
|
||||
def execute
|
||||
# implement inside child
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue