class Awscli::EC2::Tags

Public Class Methods

new(connection) click to toggle source
# File lib/awscli/ec2.rb, line 603
def initialize(connection)
  @conn = connection
end

Public Instance Methods

create(options) click to toggle source
# File lib/awscli/ec2.rb, line 611
def create(options)
  @conn.tags.create(options)
  puts 'Created Tag'
end
delete(options) click to toggle source
# File lib/awscli/ec2.rb, line 616
def delete(options)
  @conn.tags.destroy(options)
  puts 'Deleted Tag'
end
list() click to toggle source
# File lib/awscli/ec2.rb, line 607
def list
  @conn.tags.table
end