Class: Certynix::Resources::Alerts

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

Instance Method Summary collapse

Constructor Details

#initialize(http) ⇒ Alerts

Returns a new instance of Alerts.



6
7
8
# File 'lib/certynix/resources/alerts.rb', line 6

def initialize(http)
  @http = http
end

Instance Method Details

#list(**params) ⇒ Object



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

def list(**params)
  Models::Paginator.new(http: @http, path: '/v1/alerts', params: params)
end