lib/wombat/processing/parser.rb in wombat-2.0.0 vs lib/wombat/processing/parser.rb in wombat-2.0.1
- old
+ new
@@ -11,9 +11,13 @@
def initialize
@mechanize = Mechanize.new
end
+ def set_proxy(host, port)
+ @mechanize.set_proxy host, port
+ end
+
def parse(metadata)
@context = parser_for metadata
Wombat::Property::Locators::Factory.locator_for(metadata).locate(@context, @mechanize)
end
\ No newline at end of file