Sha256: 4eeca1f582300cad733af710d5a233286f4ff57bd2cc3c7f736e434f70d37fae

Contents?: true

Size: 468 Bytes

Versions: 3

Compression:

Stored size: 468 Bytes

Contents

# typed: strict
# frozen_string_literal: true

module Paseto
  module Interface
    module Serializer
      extend T::Sig
      extend T::Helpers

      interface!

      sig { abstract.params(val: String, options: T::Hash[T.untyped, T.untyped]).returns(T.untyped) }
      def deserialize(val, options); end

      sig { abstract.params(val: T.untyped, options: T::Hash[T.untyped, T.untyped]).returns(String) }
      def serialize(val, options); end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby-paseto-0.1.2 lib/paseto/interface/serializer.rb
ruby-paseto-0.1.1 lib/paseto/interface/serializer.rb
ruby-paseto-0.1.0 lib/paseto/interface/serializer.rb