lib/dispatch-rider/publisher/configuration.rb in dispatch-rider-1.9.0 vs lib/dispatch-rider/publisher/configuration.rb in dispatch-rider-2.0.0
- old
+ new
@@ -1,8 +1,7 @@
module DispatchRider
class Publisher::Configuration
-
def initialize(configuration_hash = {})
@notification_services = []
@destinations = []
parse(configuration_hash)
end
@@ -39,10 +38,9 @@
def configure_destinations(destinations_hash)
destinations_hash.each do |name, options|
@destinations << Destination.new(name, options)
end
end
-
end
end
require_relative "configuration/destination"
require_relative "configuration/notification_service"