Class: Savon::Wasabi::Document

Inherits:
Wasabi::Document
  • Object
show all
Defined in:
lib/savon/wasabi/document.rb

Overview

Savon::Wasabi::Document

Extends the document handling of the Wasabi::Document by adding support for remote and local WSDL documents.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#request=(value) ⇒ Object

Sets the HTTPI::Request for remote WSDL documents.



19
20
21
# File 'lib/savon/wasabi/document.rb', line 19

def request=(value)
  @request = value
end

Instance Method Details

#xmlObject

Hooks into Wasabi and extends its document handling.



14
15
16
# File 'lib/savon/wasabi/document.rb', line 14

def xml
  @xml ||= document.kind_of?(String) ? resolve_document : document
end