Module: Restforce::Bulk

Defined in:
lib/restforce/bulk.rb,
lib/restforce/bulk/job.rb,
lib/restforce/bulk/batch.rb,
lib/restforce/bulk/client.rb,
lib/restforce/bulk/result.rb,
lib/restforce/bulk/zipper.rb,
lib/restforce/bulk/version.rb,
lib/restforce/bulk/attributes.rb,
lib/restforce/bulk/parser/csv.rb,
lib/restforce/bulk/parser/xml.rb,
lib/restforce/bulk/builder/csv.rb,
lib/restforce/bulk/builder/xml.rb,
lib/restforce/bulk/builder/zip_csv.rb,
lib/restforce/bulk/builder/zip_xml.rb,
lib/restforce/bulk/middleware/parse_csv.rb,
lib/restforce/bulk/middleware/authorization.rb

Defined Under Namespace

Modules: Attributes, Builder, Middleware, Parser Classes: Batch, Client, Job, Result, Zipper

Constant Summary collapse

MIME_TYPE_MAPPING =
{
  csv: 'text/csv',
  xml: 'application/xml',
  zip_csv: 'zip/csv',
  zip_xml: 'zip/xml'
}
VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.clientObject



47
48
49
# File 'lib/restforce/bulk.rb', line 47

def self.client
  @client ||= Restforce::Bulk::Client.new
end

.client=(client) ⇒ Object



51
52
53
# File 'lib/restforce/bulk.rb', line 51

def self.client=(client)
  @client = client
end