Class: FMS::Response

Inherits:
Object
  • Object
show all
Defined in:
lib/fms/client.rb

Instance Method Summary collapse

Constructor Details

#initialize(content) ⇒ Response

Returns a new instance of Response.



78
79
80
# File 'lib/fms/client.rb', line 78

def initialize(content)
  @content = content
end

Instance Method Details

#to_sObject



86
87
88
# File 'lib/fms/client.rb', line 86

def to_s
  @content
end

#to_xmlObject



82
83
84
# File 'lib/fms/client.rb', line 82

def to_xml
  REXML::Document.new @content
end