lib/soaspec/exchange_handlers/exchange_handler.rb in soaspec-0.2.21 vs lib/soaspec/exchange_handlers/exchange_handler.rb in soaspec-0.2.22
- old
+ new
@@ -4,9 +4,13 @@
# Inherit this for a class describing how to implement a particular exchange.
# Has basic methods common for methods defining RSpec tests in YAML
class ExchangeHandler
extend Soaspec::HandlerAccessors
+ def self.use
+ new.use
+ end
+
# Retrieve the name of the template file to be used in the API request
attr_reader :template_name
# Explicitly defined elements for which a path has been predefined
def elements