Class: Twitter::NoAuth
- Inherits:
-
Object
- Object
- Twitter::NoAuth
- Includes:
- HTTParty
- Defined in:
- lib/twitter/no_auth.rb
Instance Method Summary collapse
Instance Method Details
#get(uri, headers = {}) ⇒ Object
6 7 8 |
# File 'lib/twitter/no_auth.rb', line 6 def get(uri, headers={}) self.class.get(uri, :headers => headers) end |
#post(uri, body = {}, headers = {}) ⇒ Object
10 11 12 |
# File 'lib/twitter/no_auth.rb', line 10 def post(uri, body={}, headers={}) self.class.post(uri, :body => body, :headers => headers) end |