lib/invoker/power/http_response.rb in invoker-1.0.4 vs lib/invoker/power/http_response.rb in invoker-1.1.0
- old
+ new
@@ -54,10 +54,10 @@
def use_file_as_body(file_name)
if file_name && File.exists?(file_name)
file_content = File.read(file_name)
self.body = file_content
else
- raise Invoker::Errors:InvalidFile, "Invalid file as body"
+ raise Invoker::Errors::InvalidFile, "Invalid file as body"
end
end
def http_string
final_string = []