class
Crystalforce::Client
- Crystalforce::Client
- Reference
- Object
Included Modules
Defined in:
crystalforce/client.crcrystalforce/streaming.cr
Constructors
Instance Method Summary
Instance methods inherited from module Crystalforce::Api
api_delete(path)
api_delete,
api_get(path, params = nil)
api_get,
api_patch(path, body = nil)
api_patch,
api_post(path, body = nil)
api_post,
api_put(path, body = nil)
api_put,
batch(halt_on_error : Bool = false, &)
batch,
composite(all_or_none : Bool = false, collate_subrequests : Bool = false, &)
composite,
create(sobject, attrs)
create,
create!(sobject, attrs)
create!,
describe(sobject : String | Nil = nil)
describe,
describe_layouts(sobject : String, layout_id : String | Nil = nil)
describe_layouts,
destroy(sobject, id)
destroy,
destroy!(sobject, id)
destroy!,
explain(soql)
explain,
find(sobject : String, id : String, field : String | Nil = nil)
find,
get_deleted(sobject : String, start_time : Time, end_time : Time)
get_deleted,
get_updated(sobject : String, start_time : Time, end_time : Time)
get_updated,
limits
limits,
list_sobjects
list_sobjects,
org_id
org_id,
picklist_values(sobject : String, field : String, valid_for : String | Nil = nil)
picklist_values,
query(soql)
query,
query_all(soql)
query_all,
query_with_pagination(soql) : Collection
query_with_pagination,
recent(limit : Int32 | Nil = nil)
recent,
search(sosl)
search,
select(sobject : String, id : String, select_fields : Array(String), field : String | Nil = nil)
select,
update(sobject, id, attrs)
update,
update!(sobject, id, attrs)
update!,
upsert(sobject, field, attrs)
upsert,
upsert!(sobject, field, attrs)
upsert!,
user_info
user_info
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)
#