Class: SchemaOrg::TaxiService
- Inherits:
-
Base
- Object
- Base
- SchemaOrg::TaxiService
- Includes:
- Mixins::TaxiService, _TaxiService
- Defined in:
- lib/schema_org/types/taxi_service.rb,
sig/schema_org.rbs
Overview
https://schema.org/TaxiService
NOTE: Supersedes Taxi.
A service for a vehicle for hire with a driver for local travel. Fares are usually calculated based on distance traveled.
Constant Summary collapse
- SCHEMA_NAME =
"TaxiService"- SCHEMA_TYPES =
[self, SchemaOrg::Service, SchemaOrg::Intangible, SchemaOrg::Thing].freeze
Class Method Summary collapse
- .new(**properties) ⇒ TaxiService
- .schema_name ⇒ String
- .schema_type?(other_type) ⇒ Boolean
- .schema_types ⇒ ::Array[::Class]
Instance Method Summary collapse
Methods included from Mixins::TaxiService
Methods included from Mixins::Service
#aggregate_rating, #aggregate_rating=, #area_served, #area_served=, #audience, #audience=, #available_channel, #available_channel=, #award, #award=, #brand, #brand=, #broker, #broker=, #category, #category=, #has_certification, #has_certification=, #has_offer_catalog, #has_offer_catalog=, #hours_available, #hours_available=, #is_related_to, #is_related_to=, #is_similar_to, #is_similar_to=, #logo, #logo=, #offers, #offers=, #produces, #produces=, #provider, #provider=, #provider_mobility, #provider_mobility=, #review, #review=, schema_property_definitions, #service_area, #service_area=, #service_audience, #service_audience=, #service_output, #service_output=, #service_type, #service_type=, #slogan, #slogan=, #terms_of_service, #terms_of_service=
Methods included from Mixins::Intangible
Methods included from Mixins::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=, schema_property_definitions, #subject_of, #subject_of=, #url, #url=
Methods included from _TaxiService
#additional_type, #additional_type=, #aggregate_rating, #aggregate_rating=, #alternate_name, #alternate_name=, #area_served, #area_served=, #audience, #audience=, #available_channel, #available_channel=, #award, #award=, #brand, #brand=, #broker, #broker=, #category, #category=, #description, #description=, #disambiguating_description, #disambiguating_description=, #has_certification, #has_certification=, #has_offer_catalog, #has_offer_catalog=, #hours_available, #hours_available=, #identifier, #identifier=, #image, #image=, #is_related_to, #is_related_to=, #is_similar_to, #is_similar_to=, #logo, #logo=, #main_entity_of_page, #main_entity_of_page=, #name, #name=, #offers, #offers=, #owner, #owner=, #potential_action, #potential_action=, #produces, #produces=, #provider, #provider=, #provider_mobility, #provider_mobility=, #review, #review=, #same_as, #same_as=, #service_area, #service_area=, #service_audience, #service_audience=, #service_output, #service_output=, #service_type, #service_type=, #slogan, #slogan=, #subject_of, #subject_of=, #terms_of_service, #terms_of_service=, #url, #url=
Class Method Details
.new(**properties) ⇒ TaxiService
32 33 34 |
# File 'lib/schema_org/types/taxi_service.rb', line 32 def new(**properties) super end |
.schema_name ⇒ String
19 20 21 |
# File 'lib/schema_org/types/taxi_service.rb', line 19 def schema_name SCHEMA_NAME end |
.schema_type?(other_type) ⇒ Boolean
27 28 29 30 |
# File 'lib/schema_org/types/taxi_service.rb', line 27 def schema_type?(other_type) Base.schema_type_argument!(other_type) SCHEMA_TYPES.include?(other_type) end |
.schema_types ⇒ ::Array[::Class]
23 24 25 |
# File 'lib/schema_org/types/taxi_service.rb', line 23 def schema_types SCHEMA_TYPES end |
Instance Method Details
#schema_type? ⇒ Boolean
125358 |
# File 'sig/schema_org.rbs', line 125358
def schema_type?: (untyped) -> bool
|
#schema_types ⇒ ::Array[::Class]
125357 |
# File 'sig/schema_org.rbs', line 125357
def schema_types: () -> ::Array[::Class]
|