Module: CityGrid::Config
Instance Method Summary collapse
Instance Method Details
#api_key ⇒ Object
5 6 7 |
# File 'lib/city_grid/config.rb', line 5 def api_key ENV['CITY_GRID_PUBLISHER_CODE'] ||= raise "ENV var for CITY_GRID_PUBLISHER_CODE must be set" end |
#base_url ⇒ Object
9 10 11 |
# File 'lib/city_grid/config.rb', line 9 def base_url 'http://api.citygridmedia.com/content' end |