Sha256: e038c51bcc062fc791da00603b235eaf16985c9856a3657796d1f74591e578c0

Contents?: true

Size: 532 Bytes

Versions: 4

Compression:

Stored size: 532 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization]
        define_property :lender, as: "lender", types: [
          "OpenActive::Models::Schema::Person",
          "OpenActive::Models::Schema::Organization",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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