Sha256: bbb3fc7fe53a909ea32581f80bf0dcd518143c6e678f4e20327e110f78e89d74

Contents?: true

Size: 586 Bytes

Versions: 8

Compression:

Stored size: 586 Bytes

Contents

# frozen_string_literal: true

module Desertcart
  class AuthenticationToken
    module Operations
      class Find < Desertcart::Operation::Find
        class Contract < LedgerSync::Ledgers::Contract
          params do
            required(:external_id).maybe(:string)
            required(:ledger_id).filled(:string)
            optional(:token).maybe(:string)
            optional(:expires_at).maybe(:string)
            optional(:user).maybe(:hash, Types::Reference)
            optional(:store).maybe(:hash, Types::Reference)
          end
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
desertcart-1.2.0 lib/desertcart/authentication_token/operations/find.rb
desertcart-1.1.5 lib/desertcart/authentication_token/operations/find.rb
desertcart-1.1.4 lib/desertcart/authentication_token/operations/find.rb
desertcart-1.1.3 lib/desertcart/authentication_token/operations/find.rb
desertcart-1.1.2 lib/desertcart/authentication_token/operations/find.rb
desertcart-1.1.1 lib/desertcart/authentication_token/operations/find.rb
desertcart-1.1.0 lib/desertcart/authentication_token/operations/find.rb
desertcart-1.0.0 lib/desertcart/authentication_token/operations/find.rb