Class: Certynix::Resources::TrustScore
- Inherits:
-
Object
- Object
- Certynix::Resources::TrustScore
- Defined in:
- lib/certynix/resources/trust_score.rb
Instance Method Summary collapse
- #get ⇒ Object
-
#initialize(http) ⇒ TrustScore
constructor
A new instance of TrustScore.
Constructor Details
#initialize(http) ⇒ TrustScore
Returns a new instance of TrustScore.
6 7 8 |
# File 'lib/certynix/resources/trust_score.rb', line 6 def initialize(http) @http = http end |
Instance Method Details
#get ⇒ Object
10 11 12 |
# File 'lib/certynix/resources/trust_score.rb', line 10 def get @http.get('/v1/trust-score') end |