Sha256: 7fe9552f842b85d525960ab303c97f266bd5a0786fa83e78b6647f4dd8d7ffeb
Contents?: true
Size: 501 Bytes
Versions: 12
Compression:
Stored size: 501 Bytes
Contents
module DataSift ## # Use DataSift's Open Data Processing (ODP) to upload your own data to # DataSift for processing class Odp < DataSift::ApiResource def ingest(source_id, data) fail ArgumentError, 'source_id is required' if source_id.nil? fail ArgumentError, 'data payload is required' if data.nil? DataSift.request( :POST, source_id, @config.merge(api_host: @config[:ingestion_host], api_version: nil), data ) end end end
Version data entries
12 entries across 12 versions & 1 rubygems