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

Update stackexchange.rb

Switch to the new 1.9+ symbol notation inside hashes. Welcome to the 21st century! :)
This commit is contained in:
Kalman Hazins 2014-05-09 09:40:21 -04:00
parent de013560e6
commit b782bb6abc

View file

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