# File lib/stella/testplan.rb, line 321 def initialize(meth=nil, uri=nil, opts={}, &definition) @protocol = :http @http_method, @uri = meth, uri opts.each_pair { |n,v| self.send("#{n}=", v) if self.class.has_field?(n) } @params ||= {} @headers ||= {} @follow ||= false @callback = definition end