2019-05-02 17:17:27 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-12-21 14:30:32 -06:00
|
|
|
module RouteFormat
|
2017-12-21 13:31:28 -06:00
|
|
|
def self.username
|
2019-04-23 05:22:47 -05:00
|
|
|
/[%\w.\-]+?/
|
2017-12-21 13:31:28 -06:00
|
|
|
end
|
|
|
|
|
|
|
|
def self.backup
|
|
|
|
/.+\.(sql\.gz|tar\.gz|tgz)/i
|
|
|
|
end
|
|
|
|
end
|