🚨Fix Rubocop lint errors

This commit is contained in:
Pranav Raj S
2019-10-20 14:17:26 +05:30
committed by GitHub
parent dd018f3682
commit 94c6d6db6f
124 changed files with 774 additions and 914 deletions

View File

@@ -3,31 +3,31 @@
module CustomExceptions::Report
class InvalidIdentity < CustomExceptions::Base
def message
"Invalid type"
'Invalid type'
end
end
class IdentityNotFound < CustomExceptions::Base
def message
"Type with the specified id not found"
'Type with the specified id not found'
end
end
class MetricNotFound < CustomExceptions::Base
def message
"Metric for the specified type not found"
'Metric for the specified type not found'
end
end
class InvalidStartTime < CustomExceptions::Base
def message
"Invalid start_time"
'Invalid start_time'
end
end
class InvalidEndTime < CustomExceptions::Base
def message
"Invalid end_time"
'Invalid end_time'
end
end
end