class ZAWS::External::AWSCLI::Commands::EC2::DescribeRouteTables

Public Class Methods

new(shellout=nil, awscli=nil) click to toggle source
# File lib/zaws/external/awscli/commands/ec2/describe_route_tables.rb, line 7
def initialize(shellout=nil, awscli=nil)
  #super(shellout, awscli)
  @shellout=shellout
  @awscli=awscli
  clear_settings
  self
end

Public Instance Methods

aws() click to toggle source
# File lib/zaws/external/awscli/commands/ec2/describe_route_tables.rb, line 16
def aws
  @aws ||= ZAWS::External::AWSCLI::Commands::AWS.new(self)
  @aws
end
clear_settings() click to toggle source
# File lib/zaws/external/awscli/commands/ec2/describe_route_tables.rb, line 26
def clear_settings
  @aws=nil
  @filter=nil
  @tags=nil
end
filter() click to toggle source
# File lib/zaws/external/awscli/commands/ec2/describe_route_tables.rb, line 21
def filter
  @filter ||= ZAWS::External::AWSCLI::Commands::EC2::Filter.new()
  @filter
end
get_command() click to toggle source
# File lib/zaws/external/awscli/commands/ec2/describe_route_tables.rb, line 32
def get_command
  command = "ec2 describe-route-tables"
  command = "#{command} #{@filter.get_command}" if @filter
  return command
end