Class: SchemaDotOrg::PropertyValue
- Inherits:
-
SchemaType
- Object
- SchemaType
- SchemaDotOrg::PropertyValue
- Defined in:
- app/models/schema_dot_org/property_value.rb
Overview
https://schema.org/PropertyValue
Helper class scoped to SchemaDotOrg.
Constant Summary
Constants inherited from SchemaType
SchemaType::ROOT_ATTR, SchemaType::UNQUALIFIED_CLASS_NAME_REGEX
Instance Attribute Summary
Attributes inherited from SchemaType
Instance Method Summary collapse
Methods inherited from SchemaType
#_to_json_struct, attribute, #initialize, #to_json, #to_json_ld, #to_json_struct, #to_s, #un_namespaced_classname
Constructor Details
This class inherits a constructor from SchemaDotOrg::SchemaType
Instance Method Details
#name ⇒ String
Validations:
9 |
# File 'app/models/schema_dot_org/property_value.rb', line 9 attribute :name, String |
#unitText ⇒ String
13 |
# File 'app/models/schema_dot_org/property_value.rb', line 13 attribute :unitText, String |
#value ⇒ String
Validations:
11 |
# File 'app/models/schema_dot_org/property_value.rb', line 11 attribute :value, String |