Sha256: 092ffae2fd7842d699aaf2dd5b3b2f0b94b2979c72476b10c1c4dff422a3c441

Contents?: true

Size: 997 Bytes

Versions: 3

Compression:

Stored size: 997 Bytes

Contents

module OpenActive
  module Models
    module Schema
      class LocalBusiness < ::OpenActive::Models::Schema::Organization
        # @!attribute type
        # @return [String]
        def type
          "schema:LocalBusiness"
        end

        # @return [String]
        define_property :currencies_accepted, as: "currenciesAccepted", types: [
          "string",
        ]

        # @return [String]
        define_property :opening_hours, as: "openingHours", types: [
          "string",
        ]

        # @return [String]
        define_property :payment_accepted, as: "paymentAccepted", types: [
          "string",
        ]

        # @return [String]
        define_property :price_range, as: "priceRange", types: [
          "string",
        ]

        # @return [OpenActive::Models::Schema::Organization,URI]
        define_property :branch_of, as: "branchOf", types: [
          "OpenActive::Models::Schema::Organization",
          "URI",
        ]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openactive-0.2.2 lib/openactive/models/schema/local_business.rb
openactive-0.2.1 lib/openactive/models/schema/local_business.rb
openactive-0.2.0 lib/openactive/models/schema/local_business.rb