Class: Checkup::Service::Base

Inherits:
Object
  • Object
show all
Includes:
Configuration::Helpers
Defined in:
lib/checkup/service/base.rb

Direct Known Subclasses

Http

Instance Method Summary collapse

Methods included from Configuration::Helpers

#clear_defaults!, #load_defaults!

Constructor Details

#initialize(model) {|_self| ... } ⇒ Base

Returns a new instance of Base.

Yields:

  • (_self)

Yield Parameters:



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

#identifierObject



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