Sha256: ce1035715a256e540dbc0e8544e71db7d160f08bc5563d554a1df76561ce71a1

Contents?: true

Size: 995 Bytes

Versions: 2

Compression:

Stored size: 995 Bytes

Contents

# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module OpenApiSDK
  module Shared
  

    class SignatureVerificationDto < ::OpenApiSDK::Utils::FieldAugmented
      extend T::Sig

      # The payload event of the webhook.
      field :payload, T::Hash[Symbol, ::Object], { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('payload') } }
      # The secret of the webhook.
      field :secret, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('secret') } }
      # The signature of the webhook.
      field :signature, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('signature') } }


      sig { params(payload: T::Hash[Symbol, ::Object], secret: ::String, signature: ::String).void }
      def initialize(payload: nil, secret: nil, signature: nil)
        @payload = payload
        @secret = secret
        @signature = signature
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
panora-0.2.5 lib/open_api_sdk/models/shared/signatureverificationdto.rb
panora-0.2.4 lib/open_api_sdk/models/shared/signatureverificationdto.rb