Class: OpenActive::Models::Schema::LocalBusiness
- Inherits:
-
Place
show all
- Defined in:
- lib/openactive/models/schema/local_business.rb
Direct Known Subclasses
AnimalShelter, ArchiveOrganization, AutomotiveBusiness, ChildCare, DryCleaningOrLaundry, EmergencyService, EmploymentAgency, EntertainmentBusiness, FinancialService, FoodEstablishment, GovernmentOffice, HealthAndBeautyBusiness, HomeAndConstructionBusiness, InternetCafe, LegalService, Library, LodgingBusiness, ProfessionalService, RadioStation, RealEstateAgent, RecyclingCenter, SelfStorage, ShoppingCenter, SportsActivityLocation, Store, TelevisionStation, TouristInformationCenter, TravelAgency
Instance Attribute Summary collapse
Attributes inherited from Place
#additional_property, #address, #aggregate_rating, #amenity_feature, #branch_code, #contained_in, #contained_in_place, #contains_place, #event, #events, #fax_number, #geo, #geo_contains, #geo_covered_by, #geo_covers, #geo_crosses, #geo_disjoint, #geo_equals, #geo_intersects, #geo_overlaps, #geo_touches, #geo_within, #global_location_number, #has_map, #is_accessible_for_free, #isic_v4, #latitude, #logo, #longitude, #map, #maps, #maximum_attendee_capacity, #opening_hours_specification, #photo, #photos, #public_access, #review, #reviews, #slogan, #smoking_allowed, #special_opening_hours_specification, #telephone
Attributes inherited from Thing
#additional_type, #alternate_name, #description, #disambiguating_description, #identifier, #image, #main_entity_of_page, #name, #potential_action, #same_as, #subject_of, #url
Attributes inherited from JsonLdModel
#context, #id
Method Summary
Methods inherited from BaseModel
#assign_attributes, define_property, deserialize, #deserialize, deserialize_class, #initialize, #serialize, serialize, #set_property, #to_json
#check_types, included
included, #to_h, #values
Instance Attribute Details
27
28
29
|
# File 'lib/openactive/models/schema/local_business.rb', line 27
def branch_of
@branch_of
end
|
#currencies_accepted ⇒ String
12
13
14
|
# File 'lib/openactive/models/schema/local_business.rb', line 12
def currencies_accepted
@currencies_accepted
end
|
#opening_hours ⇒ String
17
18
19
|
# File 'lib/openactive/models/schema/local_business.rb', line 17
def opening_hours
@opening_hours
end
|
#payment_accepted ⇒ String
22
23
24
|
# File 'lib/openactive/models/schema/local_business.rb', line 22
def payment_accepted
@payment_accepted
end
|
#price_range ⇒ String
32
33
34
|
# File 'lib/openactive/models/schema/local_business.rb', line 32
def price_range
@price_range
end
|
#type ⇒ String
7
8
9
|
# File 'lib/openactive/models/schema/local_business.rb', line 7
def type
"schema:LocalBusiness"
end
|