Module: Betterific::ClientConstants

Included in:
JsonClient, ProtobufClient
Defined in:
lib/betterific/client_constants.rb

Constant Summary collapse

BASE_URL =

The base URL for the Betterific API.

'http://betterific.com/api'.freeze
BETTERIFS_BASE_URL =

The base URL to GET betterifs.

"#{BASE_URL}/betterifs".freeze
TAGS_BASE_URL =

The base URL to GET tags.

"#{BASE_URL}/tags".freeze
USERS_BASE_URL =

The base URL to GET users.

"#{BASE_URL}/users".freeze
SEARCH_BASE_URL =

The base URL to GET search results.

"#{BASE_URL}/search".freeze
PROTO_PACKAGE_NAME =

The package in which protocol buffer schemas are defined.

'BetterIf'.freeze
TMP_DIR =

The directory in which to store temporary files.

File.expand_path(File.join('.', 'tmp'))