module Crystalforce::Api

Direct including types

Defined in:

crystalforce/api.cr

Instance Method Summary

Instance Method Detail

def api_delete(path) #

[View source]
def api_get(path, params = nil) #

[View source]
def api_patch(path, body = nil) #

[View source]
def api_post(path, body = nil) #

[View source]
def api_put(path, body = nil) #

[View source]
def batch(halt_on_error : Bool = false, &) #

[View source]
def composite(all_or_none : Bool = false, collate_subrequests : Bool = false, &) #

[View source]
def create(sobject, attrs) #

[View source]
def create!(sobject, attrs) #

[View source]
def describe(sobject : String | Nil = nil) #

[View source]
def describe_layouts(sobject : String, layout_id : String | Nil = nil) #

[View source]
def destroy(sobject, id) #

[View source]
def destroy!(sobject, id) #

[View source]
def explain(soql) #

[View source]
def find(sobject : String, id : String, field : String | Nil = nil) #

[View source]
def get_deleted(sobject : String, start_time : Time, end_time : Time) #

[View source]
def get_updated(sobject : String, start_time : Time, end_time : Time) #

[View source]
def limits #

[View source]
def list_sobjects #

[View source]
def org_id #

[View source]
def picklist_values(sobject : String, field : String, valid_for : String | Nil = nil) #

[View source]
def query(soql) #

[View source]
def query_all(soql) #

[View source]
def query_with_pagination(soql) : Collection #

Query returning a Collection with automatic pagination


[View source]
def recent(limit : Int32 | Nil = nil) #

[View source]
def search(sosl) #

[View source]
def select(sobject : String, id : String, select_fields : Array(String), field : String | Nil = nil) #

[View source]
def update(sobject, id, attrs) #

[View source]
def update!(sobject, id, attrs) #

[View source]
def upsert(sobject, field, attrs) #

[View source]
def upsert!(sobject, field, attrs) #

[View source]
def user_info #

[View source]