Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 374 Bytes

File metadata and controls

19 lines (15 loc) · 374 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