Moved back to compact class naming to use File.exitst?
This commit is contained in:
parent
135dcceafd
commit
95e27b0994
1 changed files with 71 additions and 74 deletions
|
@ -1,8 +1,7 @@
|
||||||
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
|
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
|
||||||
|
# rubocop:disable ClassAndModuleChildren
|
||||||
|
|
||||||
class Store
|
class Store::Provider::File
|
||||||
module Provider
|
|
||||||
module File
|
|
||||||
|
|
||||||
def self.add(data, sha)
|
def self.add(data, sha)
|
||||||
write_to_fs(data, sha)
|
write_to_fs(data, sha)
|
||||||
|
@ -82,6 +81,4 @@ class Store
|
||||||
|
|
||||||
true
|
true
|
||||||
end
|
end
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue