Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow other domains besides http://data.cityofchicago.org #7

Open
christophermanning opened this issue Feb 16, 2012 · 1 comment
Open

Comments

@christophermanning
Copy link
Contributor

Currently the root (http://data.cityofchicago.org) is hard coded and seems to be the only thing specific to the Chicago Data portal:

class Base
  def self.root
    "http://data.cityofchicago.org"
  end

but if that could be modified at runtime then you could use this gem to interface with other socrata sites:
http://explore.data.gov
http://datacatalog.cookcountyil.gov
...etc

A suggestion would be to make the root url could have an attr_accessor like the app_token does.

@srobbin
Copy link
Contributor

srobbin commented Feb 16, 2012

That sounds like a great idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants