crypto-news-api 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/crypto-news-api.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c55a65c80c0f2629f0ca692c133a8c8b75a3294b
4
- data.tar.gz: 8e384284753d3a8a2a0553343b3715cf9c2926e8
3
+ metadata.gz: 0c7953827d43f335e56fdb215da466938ebaa5fa
4
+ data.tar.gz: 62a1f7667dd7eef2bfb17c54b60f4b2475f583dd
5
5
  SHA512:
6
- metadata.gz: 4a1dcee6cf346fbea25fa23e903a9a6aca5b7252782c823fc7d1e8b0577a5862d2ccbf3dfefeae33b5e9ff7ef1e1986347da28506e6200429b100176fbf3763a
7
- data.tar.gz: 8ee89d4ecab6c96d66974908ec5ffd71f4a28738211de9a63ad5285f9b1a7453514a4e870827c1f793fa85de78d1cfdc955746638d0fc9a42abfaf7d9db93d73
6
+ metadata.gz: 305afc011cefd593fbae1972a1e95ad70aeea90d76b4bc6b457618a03368c4159092aa56911b10e01261f0e6911609e8c7033ec1c973325d8412377b391a86af
7
+ data.tar.gz: '05529cd496586d69fb2c2e89d58f46724fea91c2eb327124a2a2adaef0ceb6df76d7b2dbc2a0fc58216e6f1e0c3e9484ec5c87ff46a325c97c0d69d35c0aa2ff'
data/README.md CHANGED
@@ -18,7 +18,7 @@ require "crypto-news-api"
18
18
  api = CryptoControl::QueryAPI.new("API_KEY_HERE")
19
19
 
20
20
  # Enable the sentiment datapoints
21
- api.getTopNews
21
+ api.enableSentiment
22
22
 
23
23
  # Get top news
24
24
  puts api.getTopNews
@@ -21,7 +21,7 @@ module CryptoControl
21
21
  https.use_ssl = true
22
22
 
23
23
  headers = {
24
- 'user-agent' => 'CryptoControl Ruby API v1.2.0'
24
+ 'user-agent' => 'CryptoControl Ruby API v1.2.0',
25
25
  'content-type' =>'application/json',
26
26
  'x-api-key' => @apiKey
27
27
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crypto-news-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Enamakel