Sha256: 6a8f7696776e0adbf5089db63471f426f298848fc2ebe1ae06bf73f4922c3f93

Contents?: true

Size: 865 Bytes

Versions: 4

Compression:

Stored size: 865 Bytes

Contents

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

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

        # @return [OpenActive::Enums::Schema::DeliveryMethod,nil]
        define_property :delivery_method, as: "deliveryMethod", types: [
          "OpenActive::Enums::Schema::DeliveryMethod",
          "null",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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