lib/ftw/agent.rb in ftw-0.0.39 vs lib/ftw/agent.rb in ftw-0.0.40

- old
+ new

@@ -206,14 +206,16 @@ # STANDARD_METHODS.each do |name| m = name.upcase # 'def get' (put, post, etc) + public define_method(name.to_sym) do |uri, options={}| return request(m, uri, options) end # 'def get!' (put!, post!, etc) + public define_method("#{name}!".to_sym) do |uri, options={}| return execute(request(m, uri, options)) end end # STANDARD_METHODS.each