Method: ActiveStorage::Service.build
- Defined in:
- lib/active_storage/service.rb
.build(configurator:, service: nil, **service_config) ⇒ Object
Override in subclasses that stitch together multiple services and hence need to build additional services using the configurator.
Passes the configurator and all of the service’s config as keyword args.
See MirrorService for an example.
| 56 57 58 | # File 'lib/active_storage/service.rb', line 56 def build(configurator:, service: nil, **service_config) #:nodoc: new(**service_config) end |