Class: Svix::Health

Inherits:
Object
  • Object
show all
Defined in:
lib/svix/api/health.rb

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ Health



8
9
10
# File 'lib/svix/api/health.rb', line 8

def initialize(client)
  @client = client
end

Instance Method Details

#getObject



12
13
14
15
16
17
# File 'lib/svix/api/health.rb', line 12

def get
  @client.execute_request(
    "GET",
    "/api/v1/health"
  )
end