Module: SchemaOrg::Mixins::ParentAudience
- Includes:
- PeopleAudience
- Included in:
- ParentAudience
- Defined in:
- lib/schema_org/mixins/parent_audience.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#child_max_age ⇒ Object
Maximal age of the child.
-
#child_max_age=(value) ⇒ Object
Maximal age of the child.
-
#child_min_age ⇒ Object
Minimal age of the child.
-
#child_min_age=(value) ⇒ Object
Minimal age of the child.
Methods included from PeopleAudience
#health_condition, #health_condition=, #required_gender, #required_gender=, #required_max_age, #required_max_age=, #required_min_age, #required_min_age=, #suggested_age, #suggested_age=, #suggested_gender, #suggested_gender=, #suggested_max_age, #suggested_max_age=, #suggested_measurement, #suggested_measurement=, #suggested_min_age, #suggested_min_age=
Methods included from Audience
#audience_type, #audience_type=, #geographic_area, #geographic_area=
Methods included from Thing
#additional_type, #additional_type=, #alternate_name, #alternate_name=, #description, #description=, #disambiguating_description, #disambiguating_description=, #identifier, #identifier=, #image, #image=, #main_entity_of_page, #main_entity_of_page=, #name, #name=, #owner, #owner=, #potential_action, #potential_action=, #same_as, #same_as=, #subject_of, #subject_of=, #url, #url=
Class Method Details
.schema_property_definitions ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/schema_org/mixins/parent_audience.rb', line 11 def self.schema_property_definitions { child_max_age: { schema_name: "childMaxAge", schema_url: "https://schema.org/childMaxAge", comment_lines: ["Maximal age of the child."].freeze, ranges: ["Number"].freeze, external_ranges: [].freeze, inverse_of: nil, superseded_by: nil, supersedes: nil }.freeze, child_min_age: { schema_name: "childMinAge", schema_url: "https://schema.org/childMinAge", comment_lines: ["Minimal age of the child."].freeze, ranges: ["Number"].freeze, external_ranges: [].freeze, inverse_of: nil, superseded_by: nil, supersedes: nil }.freeze }.freeze end |
Instance Method Details
#child_max_age ⇒ Object
Maximal age of the child.
37 38 39 |
# File 'lib/schema_org/mixins/parent_audience.rb', line 37 def child_max_age read_property(:child_max_age) end |
#child_max_age=(value) ⇒ Object
Maximal age of the child.
42 43 44 |
# File 'lib/schema_org/mixins/parent_audience.rb', line 42 def child_max_age=(value) write_property(:child_max_age, value) end |
#child_min_age ⇒ Object
Minimal age of the child.
47 48 49 |
# File 'lib/schema_org/mixins/parent_audience.rb', line 47 def child_min_age read_property(:child_min_age) end |
#child_min_age=(value) ⇒ Object
Minimal age of the child.
52 53 54 |
# File 'lib/schema_org/mixins/parent_audience.rb', line 52 def child_min_age=(value) write_property(:child_min_age, value) end |