Navigation Menu

Skip to content

Commit

Permalink
set correct base_uri
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Carpenter committed Aug 21, 2011
1 parent 0cea2fa commit c4f2c09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/federal_register/client.rb
Expand Up @@ -4,7 +4,7 @@ class FederalRegister::Client
class RecordNotFound < HTTParty::ResponseError; end
class ServerError < HTTParty::ResponseError; end

base_uri 'http://www.federalregister.gov/api/v1'
base_uri 'http://api.federalregister.gov/v1'

def self.get(url, *options)
response = super
Expand All @@ -20,4 +20,4 @@ def self.get(url, *options)
raise HTTParty::ResponseError.new(response)
end
end
end
end

0 comments on commit c4f2c09

Please sign in to comment.