lib/dispatch-rider/registrars/publishing_destination.rb in dispatch-rider-1.0.2 vs lib/dispatch-rider/registrars/publishing_destination.rb in dispatch-rider-1.0.3
- old
+ new
@@ -1,9 +1,11 @@
+require 'ostruct'
+
module DispatchRider
module Registrars
class PublishingDestination < Base
def value(name, options = {})
- OpenStruct.new(:service => options[:service], :channel => options[:channel])
+ ::OpenStruct.new(:service => options[:service], :channel => options[:channel])
end
end
end
end