Module: Anilibria::Api::Types::T

Defined in:
lib/anilibria/api/types/t.rb

Constant Summary collapse

String =
DryTypes::String.optional
Integer =
DryTypes::Integer.optional
Bool =
DryTypes::Bool.optional
Nil =
DryTypes::Nil.optional
Timestamp =
DryTypes.Constructor(Time, Time.method(:at)).optional
Success =
DryTypes.Constructor(Bool) { |value| value[:success] }