Module: Twitter::Default
- Defined in:
- lib/twitter/default.rb
Constant Summary collapse
- ENDPOINT =
'http://api.twitter.com'
- API_VERSION =
'1'
Class Method Summary collapse
Class Method Details
.api_version ⇒ String
Note:
Should be stuck with no-oauth twitter versions (public API)
18 19 20 |
# File 'lib/twitter/default.rb', line 18 def api_version API_VERSION end |
.endpoint ⇒ String
Note:
This is configurable in case you want to use a Twitter-compatible endpoint.
12 13 14 |
# File 'lib/twitter/default.rb', line 12 def endpoint ENDPOINT end |