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:
parent
de013560e6
commit
b782bb6abc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue