Code layout improved.
This commit is contained in:
parent
b7f5c4f705
commit
e10f672649
1 changed files with 1 additions and 2 deletions
|
@ -2028,8 +2028,7 @@ Some Text',
|
||||||
|
|
||||||
def process(files)
|
def process(files)
|
||||||
files.each { |file|
|
files.each { |file|
|
||||||
parser = Channel::EmailParser.new
|
result = Channel::EmailParser.new.process( { trusted: file[:trusted] }, file[:data] )
|
||||||
result = parser.process( { trusted: file[:trusted] }, file[:data] )
|
|
||||||
if file[:success]
|
if file[:success]
|
||||||
if result && result.class == Array && result[1]
|
if result && result.class == Array && result[1]
|
||||||
assert( true )
|
assert( true )
|
||||||
|
|
Loading…
Reference in a new issue