Sha256: 15e97ae4079da0db5278a01de4c406319187964e0b6fcccfb93641605b7fcfd1

Contents?: true

Size: 997 Bytes

Versions: 1

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 [OpenActive::Models::Schema::Organization,URI]
        define_property :branch_of, as: "branchOf", types: [
          "OpenActive::Models::Schema::Organization",
          "URI",
        ]

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

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

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
openactive-0.3.0 lib/openactive/models/schema/local_business.rb