NCCConfidence 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 15bd4eee7c38cd51ec5f67a545e7b6b86584d42a
4
- data.tar.gz: 3462ffd9f597041ac600d710f15634856c69e08a
3
+ metadata.gz: a88bb8ebd8b427e59df5644030dbd6afb1539330
4
+ data.tar.gz: f041da3049c4ff9c01875b751d3e7303c39c8a59
5
5
  SHA512:
6
- metadata.gz: 7ff2ea11db2917d36f4875f378514663c8c262e77cbe63d007d94bfeac394f23b235605428f8cd2ae5d7cd282537e2a240b2a2fa9cd93eb37e23cc7352315d3c
7
- data.tar.gz: 8f3e9f2f30719e3cc6806c77042efa0adff3d1d636f851ba4bce6be365c4f3e15d446ab5eb14868440d0f57f11c0b9b03d963a358492e275f57c87b709088eea
6
+ metadata.gz: a7178d57b0f261b7c741dd94fa342c390035bd62a4a768d77573cdb8999c60cc2ab9f6da093375ced579b84903003f3157abdf5b5db868e70a9ad9e70c13535b
7
+ data.tar.gz: dec1e999bbe618e0b804748ac1acdf64ab3a72d489970b72e5a1fdce68bb7820abe94a10aca816cac4541bc0c850b463db724088bd4e4842bb8acb4ed657540e
data/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # NCCConfidence
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/NCCConfidence`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ This is a gem to allow you yo make requests to NCC Confidence's API.
4
4
 
5
- TODO: Delete this and the text above, and describe your gem
5
+ It provides mechanims to allow easier creation of API requests.
6
6
 
7
7
  ## Installation
8
8
 
@@ -21,27 +21,16 @@ Or install it yourself as:
21
21
  $ gem install NCCConfidence
22
22
 
23
23
  ## Usage
24
+
25
+ First set your current API key that you wish to use.
26
+
27
+ ```ruby
28
+ NCCConfidence.api_key = 's0as89234nj3jk4bjk23b4bhl4234'
29
+ ```
30
+
31
+ And then make a query.
32
+
24
33
  ```ruby
25
- data_filter = [
26
- {
27
- book: [
28
- { pages:[
29
- :page_number,
30
- {page_meta:
31
- [
32
- :description,
33
- :author,
34
- :page_name
35
- ]
36
- }
37
- ]
38
- }
39
- ]
40
- }
41
- ]
42
-
43
- build(f)
44
- #=>[book[pages[page_number,page_meta[description,author,page_name]]]]
45
34
  ```
46
35
 
47
36
  ## Development
@@ -1,3 +1,3 @@
1
1
  module NCCConfidence
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/lib/nccconfidence.rb CHANGED
@@ -22,7 +22,6 @@ module NCCConfidence
22
22
 
23
23
  private
24
24
  def make_request request
25
- puts request[:url]
26
25
  http = Http.request do
27
26
  set_uri request[:url]
28
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: NCCConfidence
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thermatix