lib/nacjac/projectile.rb in nacjac-0.0.1 vs lib/nacjac/projectile.rb in nacjac-0.0.2
- old
+ new
@@ -5,10 +5,10 @@
class Projectile
include Celluloid
def initialize(target_url)
@target_url = target_url
- @conn = Faraday.new(:url => 'http://sushi.com') do |faraday|
+ @conn = Faraday.new(:url => target_url) do |faraday|
faraday.request :url_encoded
faraday.adapter Faraday.default_adapter
end
end