Method: Estool::Actions::Index#initialize

Defined in:
lib/estool/actions/index.rb

#initialize(command, options) ⇒ Index

Returns a new instance of Index.



8
9
10
11
12
# File 'lib/estool/actions/index.rb', line 8

def initialize(command, options)
  @cmd = command
  @data = options.except(:host, :port)
  @server = options.slice(:host, :port)
end