Sha256: 17be853d744b863e7027c9949f07f76d0c38b992e371c46cceeed33c2530e977

Contents?: true

Size: 641 Bytes

Versions: 5

Compression:

Stored size: 641 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,URI]
        define_property :event, as: "event", types: [
          "OpenActive::Models::Schema::Event",
          "URI",
        ]

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/schema/play_action.rb
openactive-0.4.0 lib/openactive/models/schema/play_action.rb
openactive-0.2.2 lib/openactive/models/schema/play_action.rb
openactive-0.2.1 lib/openactive/models/schema/play_action.rb
openactive-0.2.0 lib/openactive/models/schema/play_action.rb