Method: Castkit::DataObjectExtensions::AttributeTypes#string
- Defined in:
- lib/castkit/data_object_extensions/attribute_types.rb
#string(field, **options) ⇒ Object
Defines a string attribute.
13 14 15 |
# File 'lib/castkit/data_object_extensions/attribute_types.rb', line 13 def string(field, **) attribute(field, :string, **) end |