Skip to content

Commit

Permalink
Added the endpoint for twitters upload api
Browse files Browse the repository at this point in the history
  • Loading branch information
Brennon Loveless authored and Brennon Loveless committed May 18, 2012
1 parent 6b3b59f commit d245180
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,3 +1,4 @@
.idea
.project
.loadpath
.DS_Store
Expand Down
2 changes: 1 addition & 1 deletion lib/grackle/client.rb
Expand Up @@ -86,7 +86,7 @@ def params
# refer to it wherever Grackle::Client uses an API symbol. You may wish
# to do this when Twitter introduces API versions greater than 1.
TWITTER_API_HOSTS = {
:search=>'search.twitter.com', :v1=>'api.twitter.com/1'
:search=>'search.twitter.com', :v1=>'api.twitter.com/1', :upload=>'upload.twitter.com/1'
}
TWITTER_API_HOSTS[:rest] = TWITTER_API_HOSTS[:v1]

Expand Down

0 comments on commit d245180

Please sign in to comment.