Sha256: 04384f374dcfde9009b6807d073551970b4a286ec2fa57516760e0d02df0f870

Contents?: true

Size: 973 Bytes

Versions: 1

Compression:

Stored size: 973 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::Recipe,URI]
        define_property :recipe, as: "recipe", types: [
          "OpenActive::Models::Schema::Recipe",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::Place,OpenActive::Models::Schema::FoodEstablishment,URI]
        define_property :food_establishment, as: "foodEstablishment", types: [
          "OpenActive::Models::Schema::Place",
          "OpenActive::Models::Schema::FoodEstablishment",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::FoodEvent,URI]
        define_property :food_event, as: "foodEvent", types: [
          "OpenActive::Models::Schema::FoodEvent",
          "URI",
        ]
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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