Sha256: 0f9c8d6152be872ef9953bf2b396bf859995cbf8ddc3930765e63178fc341c70

Contents?: true

Size: 599 Bytes

Versions: 4

Compression:

Stored size: 599 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::Event]
        define_property :event, as: "event", types: [
          "OpenActive::Models::Schema::Event",
        ]

        # @return [OpenActive::Models::Schema::Audience]
        define_property :audience, as: "audience", types: [
          "OpenActive::Models::Schema::Audience",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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