lib/lipstick/images/email_banner.rb in aaf-lipstick-4.5.1 vs lib/lipstick/images/email_banner.rb in aaf-lipstick-4.6.0

- old
+ new

@@ -1,9 +1,7 @@ # frozen_string_literal: true -require 'rmagick' - module Lipstick module Images # Creates an AAF standard email banner, with three elements, positioned as # follows: # @@ -28,9 +26,11 @@ # # For image compositing, (x, y) is the position of the top-left corner. class EmailBanner def initialize(image:, title:, environment:, background_color:, resize_to:) + require 'rmagick' + @title = title @environment = environment @image = image @background_color = background_color @resize_to = resize_to