module Crystalforce

Defined in:

crystalforce.cr
crystalforce/api.cr
crystalforce/authentication.cr
crystalforce/cache.cr
crystalforce/canvas.cr
crystalforce/client.cr
crystalforce/collection.cr
crystalforce/config.cr
crystalforce/errors.cr
crystalforce/streaming.cr
crystalforce/tooling.cr
crystalforce/version.cr

Constant Summary

Log = ::Log.for("crystalforce")
VERSION = "0.3.1"

Constructors

Class Method Summary

Constructor Detail

def self.new(username : String | Nil = nil, password : String | Nil = nil, security_token : String | Nil = nil, client_id : String | Nil = nil, client_secret : String | Nil = nil, refresh_token : String | Nil = nil, jwt_key : String | Nil = nil, host : String | Nil = nil, api_version : String | Nil = nil, authentication_retries : Int32 = 3, authentication_callback : Proc(Client, Nil) | Nil = nil, compress : Bool = false, proxy_uri : String | Nil = nil, ssl : OpenSSL::SSL::Context::Client | Nil = nil, request_headers : Hash(String, String) | Nil = nil, cache : Cache | Nil = nil) #

[View source]

Class Method Detail

def self.env_api_version : String | Nil #

[View source]
def self.env_client_id : String | Nil #

[View source]
def self.env_client_secret : String | Nil #

[View source]
def self.env_host : String | Nil #

[View source]
def self.env_password : String | Nil #

[View source]
def self.env_proxy_uri : String | Nil #

[View source]
def self.env_security_token : String | Nil #

[View source]
def self.env_username : String | Nil #

Read config from environment variables


[View source]
def self.tooling(username : String | Nil = nil, password : String | Nil = nil, security_token : String | Nil = nil, client_id : String | Nil = nil, client_secret : String | Nil = nil, refresh_token : String | Nil = nil, jwt_key : String | Nil = nil, host : String | Nil = nil, api_version : String | Nil = nil, authentication_retries : Int32 = 3, authentication_callback : Proc(ToolingClient, Nil) | Nil = nil, compress : Bool = false, proxy_uri : String | Nil = nil, ssl : OpenSSL::SSL::Context::Client | Nil = nil, request_headers : Hash(String, String) | Nil = nil, cache : Cache | Nil = nil) #

[View source]