Method: Checkup::Service::Base#initialize

Defined in:
lib/checkup/service/base.rb

#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