Module: Lilypad::Log::Methods

Included in:
Hoptoad::Deploy, Hoptoad::Notify
Defined in:
lib/lilypad/log.rb

Instance Method Summary collapse

Instance Method Details

#log(type, response) ⇒ Object



21
22
23
24
25
# File 'lib/lilypad/log.rb', line 21

def log(type, response)
  if Config.log
    Log.new type, response
  end
end