Sha256: 184d1745be86756d4ece17eee567672974c57b023c670fd6c942722dffe1196c

Contents?: true

Size: 707 Bytes

Versions: 3

Compression:

Stored size: 707 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::Organization,URI]
        define_property :authenticator, as: "authenticator", types: [
          "OpenActive::Models::Schema::Organization",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::Offer,URI]
        define_property :expects_acceptance_of, as: "expectsAcceptanceOf", types: [
          "OpenActive::Models::Schema::Offer",
          "URI",
        ]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openactive-0.2.2 lib/openactive/models/schema/media_subscription.rb
openactive-0.2.1 lib/openactive/models/schema/media_subscription.rb
openactive-0.2.0 lib/openactive/models/schema/media_subscription.rb