Sha256: 4dfa9599f1ea4697c04bc471412717f5cbd401d366143b9be182c14edc779916

Contents?: true

Size: 969 Bytes

Versions: 4

Compression:

Stored size: 969 Bytes

Contents

module OpenActive
  module Models
    module Schema
      class LocalBusiness < ::OpenActive::Models::Schema::Place
        # @!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 [OpenActive::Models::Schema::Organization]
        define_property :branch_of, as: "branchOf", types: [
          "OpenActive::Models::Schema::Organization",
        ]

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openactive-0.1.2 lib/openactive/models/schema/local_business.rb
openactive-0.1.1 lib/openactive/models/schema/local_business.rb
openactive-0.1.0 lib/openactive/models/schema/local_business.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/local_business.rb