class ApiBanking::Callbacks

Public Class Methods

new() { |self| ... } click to toggle source
# File lib/api_banking/soap/callbacks.rb, line 3
def initialize
  yield(self) if block_given?
end

Public Instance Methods

before_send(&block) click to toggle source
# File lib/api_banking/soap/callbacks.rb, line 7
def before_send(&block)
  @before_send = block if block_given?
  @before_send
end
on_complete(&block) click to toggle source
# File lib/api_banking/soap/callbacks.rb, line 12
def on_complete(&block)
  @on_complete = block if block_given?
  @on_complete
end