Class: FMS::Response
- Inherits:
-
Object
- Object
- FMS::Response
- Defined in:
- lib/fms/client.rb
Instance Method Summary collapse
-
#initialize(content) ⇒ Response
constructor
A new instance of Response.
- #to_s ⇒ Object
- #to_xml ⇒ Object
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_s ⇒ Object
86 87 88 |
# File 'lib/fms/client.rb', line 86 def to_s @content end |
#to_xml ⇒ Object
82 83 84 |
# File 'lib/fms/client.rb', line 82 def to_xml REXML::Document.new @content end |