module Kinokero
Constants
- AUTHORIZATION_REDIRECT_URI
- AUTHORIZATION_SCOPE
GCP documentation constants
- CLIENT_REDIRECT_URI
- CRLF
- CUPS_TESTPAGE_FILE
CUPS system default testpage file
- FOLLOWUP_HOST
authentication function constants
- FOLLOWUP_URI
- GAIA_HOST
- GCP_CHANNEL
- GCP_SERVICE
- GCP_URL
The GCP URL path is composed of URL + SERVICE + ACTION below three are used when testing locally
GCP_URL = 'http://0.0.0.0:3000' GCP_SERVICE = '/' GCP_REGISTER = ''
- LOGIN_URI
- LOGIN_URL
- MIMETYPE_CDD
- MIMETYPE_GENERAL
- MIMETYPE_JSON
mimetype for how to encode CDD files
- MIMETYPE_OAUTH
- MIMETYPE_PPD
mimetype for how to encode PPD files
- MIMETYPE_PROTOBUF
- MY_PROXY_ID
MY_PROXY_ID
is a unique name for this running of the GCP connector client formed with gem name + machine-node name (expected to be unique) TODO: make sure machine nodename is unique- NS_GOOGLE_PUSH
- OAUTH2_TOKEN_ENDPOINT
- POLLING_SECS
number of secs to sleep before polling again
- PRINTER_POLL_CYCLE
printer device status polling cycle (float secs to sleep)
- SSL_CERT_PATH
SSL certificates path for this machine NOTE: move this out before finalizing gem
- TRUNCATE_LOG
number of characters before truncate response logs
- VERSION
- XMPP_SERVER
jingle constants required
Public Class Methods
setup() { |self| ... }
click to toggle source
Default way to setup kinokero configuration
# File lib/kinokero.rb, line 165 def self.setup yield self end