Class: TokiServer::Getters

Inherits:
Object
  • Object
show all
Defined in:
lib/TokiServer/tokiserver.rb

Instance Method Summary collapse

Constructor Details

#initialize(toki, fileops) ⇒ Getters

Returns a new instance of Getters.



15
16
17
18
# File 'lib/TokiServer/tokiserver.rb', line 15

def initialize(toki, fileops)
  @toki = toki
  @fileops = fileops
end

Instance Method Details

#bundles_from_name(bundles) ⇒ Object



20
21
22
# File 'lib/TokiServer/tokiserver.rb', line 20

def bundles_from_name(bundles)
  @fileops.get_bundle_from_name(Array(bundles))
end