lib/message_driver/subscription.rb in message-driver-0.4.0 vs lib/message_driver/subscription.rb in message-driver-0.5.0
- old
+ new
@@ -2,18 +2,18 @@
module Subscription
class Base
include Logging
attr_reader :adapter, :destination, :consumer, :options
- def initialize(adapter, destination, consumer, options={})
+ def initialize(adapter, destination, consumer, options = {})
@adapter = adapter
@destination = destination
@consumer = consumer
@options = options
end
def unsubscribe
- raise 'must be implemented in subclass'
+ fail 'must be implemented in subclass'
end
end
end
end