Sha256: 194e51e24863b7b84af22f72c93d144442b858c932f329a26a37f2f625ec7ad3

Contents?: true

Size: 272 Bytes

Versions: 76

Compression:

Stored size: 272 Bytes

Contents

# frozen_string_literal: true

module Spotlight
  ###
  # A simple sub class of FeaturedImage to set a small square size for contacts
  class ContactImage < FeaturedImage
    private

    def image_size
      Spotlight::Engine.config.contact_square_size
    end
  end
end

Version data entries

76 entries across 76 versions & 1 rubygems

Version Path
blacklight-spotlight-4.3.6 app/models/spotlight/contact_image.rb
blacklight-spotlight-4.3.5 app/models/spotlight/contact_image.rb
blacklight-spotlight-4.3.4 app/models/spotlight/contact_image.rb
blacklight-spotlight-4.3.3 app/models/spotlight/contact_image.rb
blacklight-spotlight-4.3.2 app/models/spotlight/contact_image.rb
blacklight-spotlight-4.3.1 app/models/spotlight/contact_image.rb
blacklight-spotlight-4.3.0 app/models/spotlight/contact_image.rb
blacklight-spotlight-4.2.0 app/models/spotlight/contact_image.rb
blacklight-spotlight-4.1.2 app/models/spotlight/contact_image.rb
blacklight-spotlight-4.1.1 app/models/spotlight/contact_image.rb
blacklight-spotlight-4.1.0 app/models/spotlight/contact_image.rb
blacklight-spotlight-4.0.3 app/models/spotlight/contact_image.rb
blacklight-spotlight-4.0.2 app/models/spotlight/contact_image.rb
blacklight-spotlight-4.0.1 app/models/spotlight/contact_image.rb
blacklight-spotlight-4.0.0 app/models/spotlight/contact_image.rb
blacklight-spotlight-3.6.0.beta10 app/models/spotlight/contact_image.rb
blacklight-spotlight-3.6.0.beta9 app/models/spotlight/contact_image.rb
blacklight-spotlight-3.6.0.beta8 app/models/spotlight/contact_image.rb
blacklight-spotlight-3.5.0.4 app/models/spotlight/contact_image.rb
blacklight-spotlight-3.6.0.beta7 app/models/spotlight/contact_image.rb