Sha256: 2887c8065819bce0b930cc788a59fc287abe4450a23bc5642d22d26f3d4cc1b4

Contents?: true

Size: 715 Bytes

Versions: 4

Compression:

Stored size: 715 Bytes

Contents

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

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

        # @return [OpenActive::Models::Schema::ActionAccessSpecification]
        define_property :action_accessibility_requirement, as: "actionAccessibilityRequirement", types: [
          "OpenActive::Models::Schema::ActionAccessSpecification",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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