eligible 2.9.5 → 2.9.6

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0a2e658f02ee2147f97ffe9adf7dfd7a0cecf851
4
- data.tar.gz: c4ae304f75ef1d231fabc1d55b1e5f887f1ecd57
3
+ metadata.gz: 3e485cca9114c875a59fe5bd16771936d3e77874
4
+ data.tar.gz: cff4f292003c41664711c5ff97fe992ab9b6c5a4
5
5
  SHA512:
6
- metadata.gz: 95a6f90b7b0410a9a753e40a3bf466dafcab0dd25adc5fb0b96781e59dc021174e23f0d2e8d2a5e0df5d68768c8c3964db708c999c9437ce9409febf200bec5c
7
- data.tar.gz: 7c701b97a45098b69b646fdfdf9517d41f70e2aced80bbea0a7aa4e2c20c4db14baa0cfbacdba9c3d1fbd6c9bbb400d3e9eb4d522a60ef0e7d14ad35f50783a1
6
+ metadata.gz: 8f2bb93004f91e05ce919567503eb167fa0c38b98b16dadeeb1ffdd80c070ffb3564668158020a4e43611d67862385c58f88f9445ddd36cdc75b16f4a8b389e2
7
+ data.tar.gz: 3e5de7105713d1995453a78002018514502eac9ff6ade6bf30e8707406db7d357a7db2344a7aa2e9aec876966583590cf038831e489d1cf963fdd85500c527be
data/ChangeLog CHANGED
@@ -1,3 +1,9 @@
1
+ 2018-07-17 Eligible <support@eligible.com>
2
+
3
+ * 2.9.6
4
+ - Added Risk Assessment endpoint support
5
+ - Added specs
6
+
1
7
  2018-07-06 Eligible <support@eligible.com>
2
8
 
3
9
  * 2.9.5
@@ -36,6 +36,7 @@ require 'eligible/session_token'
36
36
  require 'eligible/visit_type'
37
37
  require 'eligible/provider_model'
38
38
  require 'eligible/calculator_deploy_url'
39
+ require 'eligible/risk_assessment'
39
40
 
40
41
  # Errors
41
42
  require 'eligible/errors/eligible_error'
@@ -0,0 +1,11 @@
1
+ module Eligible
2
+ class RiskAssessment < APIResource
3
+ def self.criteria(params, api_key = nil)
4
+ send_request(:get, '/risk_assessments/criteria.json', api_key, params)
5
+ end
6
+
7
+ def self.cost_estimate(params, api_key = nil)
8
+ send_request(:get, '/risk_assessments/cost_estimates.json', api_key, params)
9
+ end
10
+ end
11
+ end
@@ -1,3 +1,3 @@
1
1
  module Eligible
2
- VERSION = '2.9.5'.freeze
2
+ VERSION = '2.9.6'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eligible
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.5
4
+ version: 2.9.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Katelyn Gleaon
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2018-07-08 00:00:00.000000000 Z
13
+ date: 2018-07-20 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rest-client
@@ -133,6 +133,7 @@ files:
133
133
  - lib/eligible/public_key.rb
134
134
  - lib/eligible/received_pdf.rb
135
135
  - lib/eligible/referral.rb
136
+ - lib/eligible/risk_assessment.rb
136
137
  - lib/eligible/session_token.rb
137
138
  - lib/eligible/ticket.rb
138
139
  - lib/eligible/util.rb