Dry.Types.Integer (dry v0.1.9)

Represents the integer type

Examples:

schema do
  ttribute :field_1, Types.Integer
  attribute :field_2, Types.Integer.options(optional: true)
  attribute :field_3, Types.Integer.options(default: 10)
end

Link to this section Summary

Functions

Valid options are :default and :optional

Link to this section Functions

Link to this function

options(opts \\ [])

Valid options are :default and :optional