Skip to content

Instantly share code, notes, and snippets.

@jdungan
Last active March 30, 2016 18:31
Show Gist options
  • Save jdungan/d189a51fd0d8ae08ce13 to your computer and use it in GitHub Desktop.
Save jdungan/d189a51fd0d8ae08ce13 to your computer and use it in GitHub Desktop.
Publisher.create! do |pub|
pub.title = "Police Alerts"
pub.endpoint = "http://tulsacrimestream.com/api/alerts"
pub.active = false
pub.visible = false
pub.city = "Tulsa"
pub.icon = "police-incidents.png"
pub.state = "OK"
pub.description = "Current police reports."
pub.tags = ["tulsa"]
end
@bigfleet
Copy link

Use the citygram-services.herokuapp.com/tulsa-crime-reports version for endpoint-- I forgot that myself!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment