Skip to content

Commit

Permalink
rename to response
Browse files Browse the repository at this point in the history
  • Loading branch information
tomblomfield committed Nov 1, 2012
1 parent 130be24 commit 918ebf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/companies_house/request.rb
Expand Up @@ -12,8 +12,8 @@ def initialize(registration_number)

def perform
url = BASE_URI + @registration_number + ".json"
request = with_caching { Faraday.get(url) }
Response.new(request)
response = with_caching { Faraday.get(url) }
Response.new(response)
end

private
Expand Down

0 comments on commit 918ebf8

Please sign in to comment.