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