Module: CloudQuery

Defined in:
lib/cloud_query.rb,
lib/cloud_query/x64.rb,
lib/cloud_query/field.rb,
lib/cloud_query/client.rb,
lib/cloud_query/crypto.rb,
lib/cloud_query/schema.rb,
lib/cloud_query/request.rb

Defined Under Namespace

Modules: Crypto Classes: Client, Field, Request, Schema, X64

Constant Summary collapse

SCHEME =
"https".freeze
HOST =
"api.xoopit.com".freeze
PATH =
"/v0".freeze
API_PATHS =
{
  :account    => "account".freeze,
  :schema     => "schema".freeze,
  :indexes    => "i".freeze,
  :documents  => "i".freeze,
}.freeze
CONTENT_TYPES =

Standard Content-Types for requests

{
  :json => 'application/json;charset=utf-8'.freeze,
  :form => 'application/x-www-form-urlencoded'.freeze,
  :xml  => 'application/xml;charset=utf-8'.freeze,
}.freeze
SIGNING_METHOD =
"SHA1".freeze
(ENV["COOKIE_JAR"] || ".cookies.lwp").freeze