3 4 5 6 7 8 9 10 11 12
# File 'lib/gsa/feeder.rb', line 3 def self.feed(xml, datasource_name) RestClient.post( "#{GSA.base_uri}#{GSA::FEED_EXTENSION}", { :feedtype => GSA::FEED_TYPE, :datasource => datasource_name, :data => xml } ) end