Sha256: 4a08eed91986a1d9ccda90141af30ae26a196aa404d5b17cbb7358b96a3ae07e

Contents?: true

Size: 717 Bytes

Versions: 4

Compression:

Stored size: 717 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::ContactPoint,OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Audience]
        define_property :recipient, as: "recipient", types: [
          "OpenActive::Models::Schema::Person",
          "OpenActive::Models::Schema::ContactPoint",
          "OpenActive::Models::Schema::Organization",
          "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/donate_action.rb
openactive-0.1.1 lib/openactive/models/schema/donate_action.rb
openactive-0.1.0 lib/openactive/models/schema/donate_action.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/donate_action.rb