Class: ZonePull

Inherits:
Command show all
Defined in:
lib/zone.rb

Instance Attribute Summary

Attributes inherited from Command

#desc, #name

Instance Method Summary collapse

Methods inherited from Command

#add_arg, #add_cmd, #add_flow, #add_flow_from_usage, #add_input, #add_option, #add_options, #command_name?, #create_args, #create_flows, #get_args_used, #init, #initialize, #run, #show_help, #show_help_option

Constructor Details

This class inherits a constructor from Command

Instance Method Details

#execute(args, rest) ⇒ Object



17
18
19
20
# File 'lib/zone.rb', line 17

def execute(args, rest)
  zone = @input["zone"]
  zone.pull
end