lib/macaco/senders/sender.rb in macaco-0.0.4 vs lib/macaco/senders/sender.rb in macaco-0.0.5
- old
+ new
@@ -28,10 +28,10 @@
body_text args[:body_text]
end
def to(val = nil)
return @to unless val
- @to << { email: val }
+ @to << val
end
def from(val = nil)
return @from unless val
@from ||= val