Sha256: 99c47de9a26f80063f4edfa63f1e8094586122b9eae4b6f09141de0c6f7d84db

Contents?: true

Size: 549 Bytes

Versions: 6

Compression:

Stored size: 549 Bytes

Contents

module OpenActive
  module Models
    # This type is derived from https://schema.org/Action, which means that any of this type's properties within schema.org may also be used.
    class Action < ::OpenActive::Models::Schema::Action
      # @!attribute type
      # @return [String]
      def type
        "Action"
      end

      # @return [OpenActive::Models::Order,OpenActive::Models::Event]
      define_property :object, as: "object", types: [
        "OpenActive::Models::Order",
        "OpenActive::Models::Event",
      ]
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/action.rb
openactive-0.4.0 lib/openactive/models/action.rb
openactive-0.3.0 lib/openactive/models/action.rb
openactive-0.2.2 lib/openactive/models/action.rb
openactive-0.2.1 lib/openactive/models/action.rb
openactive-0.2.0 lib/openactive/models/action.rb