mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove unnecessary method delegations
This commit is contained in:
parent
87fe9ff1a3
commit
04e6728dd5
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ require "active_support/core_ext/module/delegation"
|
|||
class ActiveStorage::Service::MirrorService < ActiveStorage::Service
|
||||
attr_reader :services
|
||||
|
||||
delegate :download, :exist?, :url, :byte_size, :checksum, to: :primary_service
|
||||
delegate :download, :exist?, :url, to: :primary_service
|
||||
|
||||
def initialize(services:)
|
||||
@services = services
|
||||
|
|
Loading…
Reference in a new issue