lib/great_schools.rb in great_schools-0.2.1 vs lib/great_schools.rb in great_schools-0.2.3
- old
+ new
@@ -42,10 +42,10 @@
# --
# TODO: load API access key from a config file (great_schools.yml or something)
# ++
class API
class << self # Class methods
- DOMAIN = 'http://api.greatschools.org'
+ DOMAIN = 'https://api.greatschools.org'
# The API access key, must be set before making any requests.
attr_accessor :key
# Makes an API request to +path+ with the supplied query +parameters+ (merges