Module: Imgproxy::Extensions::ActiveStorage
- Defined in:
- lib/imgproxy/extensions/active_storage.rb
Overview
Extension for ActiveStorage
Instance Method Summary collapse
-
#imgproxy_info_url(options = {}) ⇒ String
Returns imgproxy info URL for an attachment.
-
#imgproxy_url(options = {}) ⇒ String
Returns imgproxy URL for an attachment.
Instance Method Details
#imgproxy_info_url(options = {}) ⇒ String
Returns imgproxy info URL for an attachment
21 22 23 24 |
# File 'lib/imgproxy/extensions/active_storage.rb', line 21 def imgproxy_info_url( = {}) return .info_url_for(self) if .is_a?(Imgproxy::Builder) Imgproxy.info_url_for(self, ) end |