instance method forced_disposition_for_service_url

Ruby on Rails 6.0.6

Since v5.2.8.1 Last seen in v6.0.6 Private

Available in: v5.2.8.1 v6.0.6

Signature

forced_disposition_for_service_url()

No documentation comment.

Source
# File activestorage/app/models/active_storage/blob.rb, line 272
    def forced_disposition_for_service_url
      if forcibly_serve_as_binary? || !allowed_inline?
        :attachment
      end
    end

Defined in activestorage/app/models/active_storage/blob.rb line 272 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveStorage::Blob

Type at least 2 characters to search.

↑↓ navigate · open · esc close