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

- old
+ new

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