lib/homeflow/api/request.rb in homeflow_api-0.17.4 vs lib/homeflow/api/request.rb in homeflow_api-0.17.5
- old
+ new
@@ -43,10 +43,10 @@
elsif request_specification.is_a? Delete
return (HTTParty.delete(url, :query => query_params)).body
elsif request_specification.is_a? Put
return (HTTParty.put(url, :query => query_params, :body => post_params)).body
elsif request_specification.is_a? Post
- return (HTTParty.pos(url, :query => query_params, :body => post_params)).body
+ return (HTTParty.post(url, :query => query_params, :body => post_params)).body
end
end
def constant_params