Removed unnecessary methods

This commit is contained in:
Luiz F Picolo 2021-11-02 22:42:52 -04:00
parent e850e86794
commit a364392f57

View File

@ -11,11 +11,6 @@ class Rate < ActiveRecord::Base
} }
end end
def self.average(type_transfer)
everage = self.find_rate.average(type_transfer)
everage.ceil(2)
end
def self.extremes(type, value) def self.extremes(type, value)
everage = self.find_rate.public_send(type, value) everage = self.find_rate.public_send(type, value)
everage.ceil(2) everage.ceil(2)