lib/loquor/http_actions/post.rb in loquor-0.0.1 vs lib/loquor/http_actions/post.rb in loquor-0.0.2
- old
+ new
@@ -8,10 +8,13 @@
super(url, deps)
@payload = payload
end
def post
- JSON.parse(signed_request.execute)
+ @config.logger.info "Making POST request to: #{@url}"
+ response = JSON.parse(signed_request.execute)
+ @config.logger.info "Signed request executed. Response: #{response}"
+ response
end
private
def signed_request