Sha256: 828b8005108b10d7df14b62317887fe76c3503b2654101493eae63d0ac74bf0f
Contents?: true
Size: 478 Bytes
Versions: 6
Compression:
Stored size: 478 Bytes
Contents
module DataSift class ManagedSourceAuth < DataSift::ApiResource def add(id, auth, validate = 'true') params = { id: id, validate: validate } params.merge!({:auth => auth}) DataSift.request(:PUT, 'source/auth/add', @config, params) end def remove(id, auth_ids) params = {id: id} params.merge!({:auth_ids => auth_ids}) DataSift.request(:PUT, 'source/auth/remove', @config, params) end end end
Version data entries
6 entries across 6 versions & 1 rubygems