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

- old
+ new

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