Sha256: c01c15653b0b7c5b16b6a918497b32e86d4f10577e571db88e5634d2b98f2435

Contents?: true

Size: 313 Bytes

Versions: 12

Compression:

Stored size: 313 Bytes

Contents

module ImageProcessing
  class Builder
    include Chainable

    attr_reader :options

    def initialize(options)
      @options = options
    end

    # Calls the pipeline to perform the processing from built options.
    def call!(**options)
      Pipeline.new(self.options).call(**options)
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
image_processing-1.11.0 lib/image_processing/builder.rb
image_processing-1.10.3 lib/image_processing/builder.rb
image_processing-1.10.2 lib/image_processing/builder.rb
image_processing-1.10.1 lib/image_processing/builder.rb
image_processing-1.10.0 lib/image_processing/builder.rb
image_processing-1.9.3 lib/image_processing/builder.rb
image_processing-1.9.2 lib/image_processing/builder.rb
image_processing-1.9.1 lib/image_processing/builder.rb
image_processing-1.9.0 lib/image_processing/builder.rb
image_processing-1.8.0 lib/image_processing/builder.rb
image_processing-1.7.1 lib/image_processing/builder.rb
image_processing-1.7.0 lib/image_processing/builder.rb