Sha256: 8c9b88c804d2c1165f8f21e9a544c9f495331b5fd14c5578860ad5e2b918797f
Contents?: true
Size: 755 Bytes
Versions: 7
Compression:
Stored size: 755 Bytes
Contents
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true module SpeakeasyClientSDK module Shared class Security < ::SpeakeasyClientSDK::Utils::FieldAugmented extend T::Sig field :api_key, T.nilable(::String), { 'security': { 'scheme': true, 'type': 'apiKey', 'sub_type': 'header', 'field_name': 'x-api-key' } } field :bearer, T.nilable(::String), { 'security': { 'scheme': true, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' } } sig { params(api_key: T.nilable(::String), bearer: T.nilable(::String)).void } def initialize(api_key: nil, bearer: nil) @api_key = api_key @bearer = bearer end end end end
Version data entries
7 entries across 7 versions & 1 rubygems