class AWS::Record::Model

def date_attr name, options = {}

Options Hash: (**options)
  • :set (Boolean) -- When true this attribute

Parameters:
  • options (Hash) --
  • name (Symbol) -- The name of the attribute.

Other tags:
    Example: A standard date attribute -
def date_attr name, options = {}
  add_attribute(Record::Attributes::DateAttr.new(name, options))
end