class Interapp::Configuration

Constants

VALID_CONFIG_KEYS

Public Instance Methods

add_peer() { |peer| ... } click to toggle source
# File lib/interapp/configuration.rb, line 11
def add_peer
  peer = Interapp::Peer.new
  yield(peer)
  @peers ||= []
  @peers << peer
end
on_receive(&block) click to toggle source
# File lib/interapp/configuration.rb, line 7
def on_receive(&block)
  @handler = block
end