Class: Checkup::Service::Base
- Inherits:
-
Object
- Object
- Checkup::Service::Base
- Includes:
- Configuration::Helpers
- Defined in:
- lib/checkup/service/base.rb
Direct Known Subclasses
Instance Method Summary collapse
- #identifier ⇒ Object
-
#initialize(model) {|_self| ... } ⇒ Base
constructor
A new instance of Base.
- #perform! ⇒ Object
Methods included from Configuration::Helpers
#clear_defaults!, #load_defaults!
Constructor Details
#initialize(model) {|_self| ... } ⇒ Base
Returns a new instance of Base.
8 9 10 11 12 13 |
# File 'lib/checkup/service/base.rb', line 8 def initialize(model) @model = model load_defaults! yield self end |
Instance Method Details
#identifier ⇒ Object
18 19 |
# File 'lib/checkup/service/base.rb', line 18 def identifier end |
#perform! ⇒ Object
15 16 |
# File 'lib/checkup/service/base.rb', line 15 def perform! end |