lib/dropbox-sign/models/account_response.rb in dropbox-sign-1.6.0 vs lib/dropbox-sign/models/account_response.rb in dropbox-sign-1.6.1

- old
+ new

@@ -126,11 +126,11 @@ # Attempt to instantiate and hydrate a new instance of this class # @param [Object] data Data to be converted # @return [AccountResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "AccountResponse" ) || AccountResponse.new end @@ -352,9 +352,7 @@ value.to_hash(include_nil) else value end end - end - end