lib/soaspec/exchange_handlers/rest_handler.rb in soaspec-0.0.73 vs lib/soaspec/exchange_handlers/rest_handler.rb in soaspec-0.0.74

- old
+ new

@@ -98,14 +98,10 @@ # Wraps around Savon client defining default values dependent on the soap request class RestHandler < ExchangeHandler extend Soaspec::RestAccessors - # Savon client used to make SOAP calls - attr_accessor :client - # SOAP Operation to use by default - attr_accessor :operation # User used in making API calls attr_accessor :api_username # Set through following method. Base URL in REST requests. def base_url_value @@ -140,9 +136,10 @@ if name.is_a?(Hash) && options == {} # If name is not set options = name name = self.class.to_s end super + set_remove_key(options, :api_username) set_remove_key(options, :default_hash) @init_options = options end # Convert snakecase to PascalCase \ No newline at end of file