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_versionString

Note:

Should be stuck with no-oauth twitter versions (public API)

Returns:

  • (String)


18
19
20
# File 'lib/twitter/default.rb', line 18

def api_version
  API_VERSION
end

.endpointString

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