Class: Certynix::Resources::TrustScore

Inherits:
Object
  • Object
show all
Defined in:
lib/certynix/resources/trust_score.rb

Instance Method Summary collapse

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

#getObject



10
11
12
# File 'lib/certynix/resources/trust_score.rb', line 10

def get
  @http.get('/v1/trust-score')
end