instance method
service_name
Ruby on Rails 8.1.2
Since v5.2.8.1 PrivateSignature
service_name()
No documentation comment.
Source
# File activestorage/lib/active_storage/service.rb, line 174
def service_name
# ActiveStorage::Service::DiskService => Disk
self.class.name.split("::").third.remove("Service")
end
Defined in activestorage/lib/active_storage/service.rb line 174
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Service