Sha256: 8cdfed122718fcb56145fa45aa0d1a5fa417f463111f8316e6d36a965572cfac
Contents?: true
Size: 523 Bytes
Versions: 8
Compression:
Stored size: 523 Bytes
Contents
module DataSift class HistoricsPreview < DataSift::ApiResource def create(hash, sources, parameters, start, end_time = nil) params = { :hash => hash, :sources => sources, :parameters => parameters, :start => start } params.merge!(:end => end_time) if end_time != nil DataSift.request(:POST, 'preview/create', @config, params) end def get(id) DataSift.request(:POST, 'preview/get', @config, {:id => id}) end end end
Version data entries
8 entries across 8 versions & 1 rubygems