Sha256: fbe1baeda12dfb05444959debbbbbc91b1646d0bd4ea5bc6c896b02f31e13d41

Contents?: true

Size: 677 Bytes

Versions: 3

Compression:

Stored size: 677 Bytes

Contents

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

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

        # @return [OpenActive::Models::Schema::WarrantyPromise,URI]
        define_property :warranty_promise, as: "warrantyPromise", types: [
          "OpenActive::Models::Schema::WarrantyPromise",
          "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/sell_action.rb
openactive-0.2.1 lib/openactive/models/schema/sell_action.rb
openactive-0.2.0 lib/openactive/models/schema/sell_action.rb