lib/loquor/http_actions/post.rb in loquor-0.2.0 vs lib/loquor/http_actions/post.rb in loquor-0.3.0
- old
+ new
@@ -11,10 +11,10 @@
def post
@config.logger.info "Making POST request to: #{full_url}"
response = JSON.parse(signed_request.execute)
@config.logger.info "Signed request executed. Response: #{response}"
- Representation.new(response)
+ Resource.new(response)
end
private
def signed_request