Method: ActiveStorage::Blob#service

Defined in:
activestorage/app/models/active_storage/blob.rb

#serviceObject

Returns an instance of service, which can be configured globally or per attachment



327
328
329
# File 'activestorage/app/models/active_storage/blob.rb', line 327

def service
  services.fetch(service_name)
end