Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 353 Bytes

File metadata and controls

18 lines (15 loc) · 353 Bytes
require 'kombo'

Models = ::Kombo::Models
s = ::Kombo::Kombo.new(
  security: Models::Shared::Security.new(
    api_key: '<YOUR_BEARER_TOKEN_HERE>'
  )
)
res = s.general.check_api_key

unless res.get_check_api_key_positive_response.nil?
  # handle response
end