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_type(parsed_json)
        case parsed_json["type"]
        when /hidden/i
          :hidden
        else
          :string
        end
      end
def extract_type ( parsed_json ) case parsed_json [ "type" ] when / hidden /i :hidden else :string end end
Initializes a new field.
Initializes a new field .
parsed_json
<not_specific>