Method: Castkit::Core::AttributeTypes#string
- Defined in:
- lib/castkit/core/attribute_types.rb
#string(field, **options) ⇒ Object
Defines a string attribute.
33 34 35 |
# File 'lib/castkit/core/attribute_types.rb', line 33 def string(field, **) attribute(field, :string, **) end |