Method: ICFS::Api#initialize
- Defined in:
- lib/icfs/api.rb
#initialize(stats, users, cache, store, config = nil) ⇒ Api
New API
56 57 58 59 60 61 62 63 |
# File 'lib/icfs/api.rb', line 56 def initialize(stats, users, cache, store, config=nil) @users = users @cache = cache @store = store @gstats = stats.map{|st| st.dup.freeze }.freeze @config = config reset end |