Sha256: c37a362d87e1bddf572d53651c046b33b5870fde0957d0693939f3460da78f07

Contents?: true

Size: 910 Bytes

Versions: 4

Compression:

Stored size: 910 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::FoodEvent]
        define_property :food_event, as: "foodEvent", types: [
          "OpenActive::Models::Schema::FoodEvent",
        ]

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

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