1
0
Fork 0
mirror of https://github.com/jnunemaker/httparty synced 2023-03-27 23:23:07 -04:00

Merge pull request #291 from kalmanh/patch-1

Update stackexchange.rb
This commit is contained in:
John Nunemaker 2014-05-09 15:48:19 -04:00
commit 8bd395cfe6

View file

@ -7,7 +7,7 @@ class StackExchange
base_uri 'api.stackexchange.com'
def initialize(service, page)
@options = { :query => {:site => service, :page => page} }
@options = { query: {site: service, page: page} }
end
def questions