lib/soaspec/basic_soap_handler.rb in soaspec-0.0.6 vs lib/soaspec/basic_soap_handler.rb in soaspec-0.0.7

- old
+ new

@@ -99,7 +99,17 @@ def default_hash=(hash) @request_option = :hash @default_hash = hash end + def status_code_for(response) + response.http.code + end + + # Override this to specify elements that must be present in the response + # Make it an Array of keys + def mandatory_elements + nil + end + end end \ No newline at end of file