lib/soaspec/exchange_handlers/exchange_handler.rb in soaspec-0.0.38 vs lib/soaspec/exchange_handlers/exchange_handler.rb in soaspec-0.0.39
- old
+ new
@@ -15,10 +15,10 @@
end
# Sets api handler variable globally. This is used in 'Exchange' class
# @return [String] Name set upon initialisation
def to_s
- Soaspec::Environment.api_handler = self
+ Soaspec.api_handler = self
@name.to_s
end
# Set the request option type and the template name
# @param [String] name Name of file inside 'template' folder excluding extension
\ No newline at end of file