module Ethon::Easies::ResponseCallbacks
def complete
- Example: Execute complete callback. -
def complete return if !defined?(@complete) || @complete.nil? @complete.call(self) end
def on_complete(&block)
- Example: Set complete callback. -
def on_complete(&block) @complete = block end