class M2Config::Handler

Public Class Methods

new( fields ) click to toggle source
Calls superclass method
# File lib/m2config/handler.rb, line 5
def initialize( fields )
  raise ArgumentError, "The send and receive endpoints can not be the same" if
    fields[:send_spec] == fields[:recv_spec]
  fields[:recv_ident] ||= ""
  super(fields, false)
  save
end

Public Instance Methods

type() click to toggle source
# File lib/m2config/handler.rb, line 13
def type
  "handler"
end