Remove no longer required methods

This commit is contained in:
Rubén Dávila 2017-10-02 21:14:44 -05:00
parent 8d296b62e4
commit 8be06f20fc
1 changed files with 0 additions and 10 deletions

View File

@ -19,14 +19,4 @@ class GpgKeySubkey < ActiveRecord::Base
def fingerprint
super&.upcase
end
def method_missing(m, *a, &b)
return super unless gpg_key.respond_to?(m)
gpg_key.public_send(m, *a, &b) # rubocop:disable GitlabSecurity/PublicSend
end
def respond_to_missing?(method, include_private = false)
gpg_key.respond_to?(method, include_private) || super
end
end