MeltwaterArchive / datasift-ruby

Ruby client for DataSift
http://datasift.com
MIT License
24 stars 22 forks source link

Develop #76

Closed giovannelli closed 9 years ago

giovannelli commented 9 years ago

Hi Jason, is working for me with:

client = DataSift::Client.new({ username: CONFIG["datasift_user_name"], api_key: CONFIG["datasift_api_key"], enable_ssl: true })

client.ingestion_service.ingest(source_id, File.open("list_of_hashes").read)

dugjason commented 9 years ago

Thanks for the PR @giovannelli. We'll need some time to think about issues such as the best way to handle using the unversioned API, and the change of api_host for calls to the Ingestion API.

giovannelli commented 9 years ago

Ok, I'll use mine waiting for your release. However if you give me some hints on how you want to manage the api_host and api_version I'll be glad to do it. Best

dugjason commented 9 years ago

Superseded by #78