instance method
service
Ruby on Rails 8.1.2
Since v6.1.7.10Signature
service()
Returns an instance of service, which can be configured globally or per attachment
Source
# File activestorage/app/models/active_storage/blob.rb, line 327
def service
services.fetch(service_name)
end
Defined in activestorage/app/models/active_storage/blob.rb line 327
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Blob