lib/loquor/http_actions/get.rb in loquor-0.0.1 vs lib/loquor/http_actions/get.rb in loquor-0.0.2

- old
+ new

@@ -7,16 +7,18 @@ def initialize(url, deps) super end def get - JSON.parse(signed_request.execute) + @config.logger.info "Making GET request to: #{@url}" + response = JSON.parse(signed_request.execute) + @config.logger.info "Signed request executed. Response: #{response}" + response end private def request full_url = "#{@config.endpoint}#{@url}" RestClient::Request.new(url: full_url, method: :get) end end end -