Module: SchemaOrg::Mixins::TouristTrip
Class Method Summary collapse
Instance Method Summary collapse
-
#tourist_type ⇒ Object
Attraction suitable for type(s) of tourist.
-
#tourist_type=(value) ⇒ Object
Attraction suitable for type(s) of tourist.
Methods included from Trip
#arrival_time, #arrival_time=, #departure_time, #departure_time=, #itinerary, #itinerary=, #offers, #offers=, #part_of_trip, #part_of_trip=, #provider, #provider=, #sub_trip, #sub_trip=, #trip_origin, #trip_origin=
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 |
# File 'lib/schema_org/mixins/tourist_trip.rb', line 11 def self.schema_property_definitions { tourist_type: { schema_name: "touristType", schema_url: "https://schema.org/touristType", comment_lines: ["Attraction suitable for type(s) of tourist. E.g. children, visitors from a particular country, etc."].freeze, ranges: ["Audience", "Text"].freeze, external_ranges: [].freeze, inverse_of: nil, superseded_by: nil, supersedes: nil }.freeze }.freeze end |
Instance Method Details
#tourist_type ⇒ Object
Attraction suitable for type(s) of tourist. E.g. children, visitors from a particular country, etc.
27 28 29 |
# File 'lib/schema_org/mixins/tourist_trip.rb', line 27 def tourist_type read_property(:tourist_type) end |
#tourist_type=(value) ⇒ Object
Attraction suitable for type(s) of tourist. E.g. children, visitors from a particular country, etc.
32 33 34 |
# File 'lib/schema_org/mixins/tourist_trip.rb', line 32 def tourist_type=(value) write_property(:tourist_type, value) end |