Class: SchemaDotOrg::HowTo
- Inherits:
-
SchemaType
- Object
- SchemaType
- SchemaDotOrg::HowTo
- Defined in:
- app/models/schema_dot_org/how_to.rb
Overview
Helper class scoped to SchemaDotOrg.
Constant Summary
Constants inherited from SchemaType
SchemaType::ROOT_ATTR, SchemaType::UNQUALIFIED_CLASS_NAME_REGEX
Instance Attribute Summary collapse
- #name ⇒ Object readonly
- #step ⇒ Object readonly
Attributes inherited from SchemaType
Method Summary
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 Attribute Details
#name ⇒ Object (readonly)
15 |
# File 'app/models/schema_dot_org/how_to.rb', line 15 validates :name, :step, presence: true |
#step ⇒ Object (readonly)
15 |
# File 'app/models/schema_dot_org/how_to.rb', line 15 validates :name, :step, presence: true |