Method: Checkup::Notifier::Base#initialize

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

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

Returns a new instance of Base.

Yields:

  • (_self)

Yield Parameters:



15
16
17
18
19
20
# File 'lib/checkup/notifier/base.rb', line 15

def initialize(model)
  @model = model
  load_defaults!
  
  yield self
end