lib/dispatch-rider/queue_services/base.rb in dispatch-rider-1.0.2 vs lib/dispatch-rider/queue_services/base.rb in dispatch-rider-1.0.3
- old
+ new
@@ -34,10 +34,10 @@
end
end
def head
raw_item = raw_head
- raw_item && OpenStruct.new(:item => raw_item, :message => construct_message_from(raw_item))
+ raw_item && ::OpenStruct.new(:item => raw_item, :message => construct_message_from(raw_item))
end
def raw_head
raise NotImplementedError
end