Sha256: eeaf82f054000e5e05ae8bac563bc60f8fb0b31a3406ae44554025db65206e2b
Contents?: true
Size: 547 Bytes
Versions: 3
Compression:
Stored size: 547 Bytes
Contents
# typed: strict # frozen_string_literal: true module Paseto module Serializer module Raw extend T::Sig extend Interface::Serializer sig(:final) do override.params( val: String, _options: T::Hash[T.untyped, T.untyped] ).returns(T.any(String, T::Hash[String, T.untyped])) end def self.deserialize(val, _options) = val sig(:final) { override.params(val: T.untyped, _options: T.untyped).returns(String) } def self.serialize(val, _options) = val end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ruby-paseto-0.1.2 | lib/paseto/serializer/raw.rb |
ruby-paseto-0.1.1 | lib/paseto/serializer/raw.rb |
ruby-paseto-0.1.0 | lib/paseto/serializer/raw.rb |