alloy-api 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/README.md +6 -0
  4. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6d37d96928f05bb171b47d67433c9699fc00c2752f83dfd8b1dd46b74553bdaa
4
- data.tar.gz: 5f07aa536199716687e54ee7ae071f55adb655b87ea829738d7449857bb67df5
3
+ metadata.gz: e845b1524bcbb0526ac40ff48555f1f34a01c80ed0471296185a5b5bfad14ce0
4
+ data.tar.gz: 30c686b9eda1882a164a5c0c5c851e507e7a81c37e76d5d99fbe0a65077e37d6
5
5
  SHA512:
6
- metadata.gz: 2114d90c96ce86a6fac6bfca74e956610b60f6a4aaabd4e6bf6c54c91fb2ab18aa131067d630e2db34af9a5a7bfb80c98ea494a6b216379af75fadc56c916b7b
7
- data.tar.gz: 35ea77c8f8a19c604c1fbdb8a0b2851c0d2c46d522c1862fb65f04a36be5426853ddb55ba647e928297608c4b024b1624d3a8c5e7af563fd5fa77dedd158f1d3
6
+ metadata.gz: e146cdb58be40db56a1d9c77078ba0e922affd4958b9bd7dfdab12a378ef9b4e8edac99b83869e11e20bc66bdbee95d73c768ecdbdd505bede28c8a96ce0fc46
7
+ data.tar.gz: 3896b271414ac2eda395ab832b8843be6008f0d189fbc2c99b990f7ce6960a4c05701c92e9b2f6c27bf50df477e162435ee5b336c53cea10176a199d8af61a2c
@@ -1,3 +1,9 @@
1
+ ## 0.0.2 / 2020-06-10
2
+
3
+ * Change gem homepage/repo page
4
+ * Bump required ruby version to match HTTParty
5
+ * Change version spec for HTTParty to be correct
6
+
1
7
  ## 0.0.1 / 2020-06-10
2
8
 
3
9
  * Initial Release
data/README.md CHANGED
@@ -41,6 +41,12 @@ Also, if using a sandbox, set the endpoint:
41
41
  Alloy::Api.api_uri = 'https://sandbox.alloy.co/' # Be sure to include the trailing slash!
42
42
  ```
43
43
 
44
+ The Alloy.co api methods are implemented by the Api class. Most take a set of options, including headers and body:
45
+
46
+ ```ruby
47
+ Alloy::Api.parameters(method: 'get') # The default method is 'post' - this method will get required/optional parameters for running evaluations
48
+ Alloy::Api.evaluations(body: { first_name: 'John', last_name: 'Smith' }, headers: { 'Alloy-Refresh-Cache': 'true' }) # Runs an evaluation. Headers can be set as well, but the Content-Type and Authorization are automatic
49
+ ```
44
50
 
45
51
  ## License
46
52
  The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alloy-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Schultz
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.18.0
19
+ version: '0.18'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.18.0
26
+ version: '0.18'
27
27
  description: " A wrapper for the Alloy.co API. Helps to build KYC policy support
28
28
  into applications.\n"
29
29
  email:
@@ -35,11 +35,11 @@ files:
35
35
  - LICENSE
36
36
  - README.md
37
37
  - lib/alloy-api.rb
38
- homepage: https://github.com/MatthewSchultz/alloy-api
38
+ homepage: https://rubygems.org/gems/alloy-api
39
39
  licenses:
40
40
  - MIT
41
41
  metadata:
42
- source_code_uri: https://github.com/MatthewSchultz/alloy-api
42
+ source_code_uri: https://github.com/usdigitalresponse/alloy-api
43
43
  post_install_message:
44
44
  rdoc_options: []
45
45
  require_paths:
@@ -48,7 +48,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
48
48
  requirements:
49
49
  - - ">="
50
50
  - !ruby/object:Gem::Version
51
- version: 1.9.0
51
+ version: 2.0.0
52
52
  required_rubygems_version: !ruby/object:Gem::Requirement
53
53
  requirements:
54
54
  - - ">="