From 04e6728dd50cbe80a8f0039e9718dc96bc46e701 Mon Sep 17 00:00:00 2001 From: George Claghorn Date: Thu, 6 Jul 2017 17:00:21 -0400 Subject: Remove unnecessary method delegations --- lib/active_storage/service/mirror_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/active_storage') diff --git a/lib/active_storage/service/mirror_service.rb b/lib/active_storage/service/mirror_service.rb index 59ad3fc472..1ec0930e6c 100644 --- a/lib/active_storage/service/mirror_service.rb +++ b/lib/active_storage/service/mirror_service.rb @@ -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 -- cgit v1.2.3