lib/soaspec.rb in soaspec-0.2.20 vs lib/soaspec.rb in soaspec-0.2.21

- old
+ new

@@ -29,10 +29,11 @@ # Gem for handling SOAP and REST api tests module Soaspec @template_folder = 'templates' @auto_oauth = true + @log_warnings = true class << self # Folder used to store templates for API calls # @return [String] attr_reader :template_folder @@ -59,9 +60,12 @@ attr_accessor :api_handler # Set whether to transform strings to keys in request automatically. # @return [Boolean] attr_writer :always_use_keys + + # @return [Boolean] Whether to log warnings such as methods that may change usage in the future + attr_accessor :log_warnings # @return [Boolean] Whether to transform strings to keys in request automatically def always_use_keys? @always_use_keys || true end