lib/homeflow/api/request.rb in homeflow_api-0.17.9 vs lib/homeflow/api/request.rb in homeflow_api-0.17.11
- old
+ new
@@ -51,10 +51,10 @@
return (self.class.post(url, :query => query_params, :body => post_params))
end
end
def body_of_request(request)
- if resquest.respond_to? :body
+ if request.respond_to? :body
request.body
else
body
end
end