You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: fastly_location.rb
    path of file: ./repos/alonetone/app/models/storage
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module Storage
  # Generates a public or signed URL to an S3 object through CloudFront. Note
  # that it behaves like a promise so we can c
    
    def self.variation_params_for_operation(name, value)
      case name
      when :resize_to_fill
        {
          crop: '1:1', # All images on Alonetone are square
          width: value.first
        }
      when :saver
        { quality: value[:quality] }.compact
      else
        {}
      end