lib/hal_client/form/field.rb
# Initializes a new field.
#
# parsed_json - the parsed JSON of the field
Initializes a new field.
parsed_json - the parsed JSON of the field
Initializes a new field . parsed_json - the parsed JSON of the field
def extract_aliases(parsed_json)
        name = parsed_json.fetch("name") {
          raise ArgumentError, "field doesn't have a name"
        }
        [name, name.to_sym]
      end
def extract_aliases ( parsed_json ) name = parsed_json . fetch ( "name" ) { raise ArgumentError , "field doesn't have a name" } [ name , name . to_sym ] end
Initializes a new field.
Initializes a new field .
parsed_json
<not_specific>