lib/ruby_ami/event.rb in ruby_ami-1.3.4 vs lib/ruby_ami/event.rb in ruby_ami-2.0.0
- old
+ new
@@ -3,11 +3,11 @@
module RubyAMI
class Event < Response
attr_reader :name
- def initialize(name)
- super()
+ def initialize(name, headers = {})
+ super headers
@name = name
end
def inspect_attributes
[:name] + super