lib/outliers/resources/aws/ec2/instance_collection.rb in outliers-0.1.1 vs lib/outliers/resources/aws/ec2/instance_collection.rb in outliers-0.2.0
- old
+ new
@@ -2,12 +2,18 @@
module Resources
module Aws
module Ec2
class InstanceCollection < Collection
+ include Outliers::Filters::Aws::Ec2::Tags
+
def load_all
connect.instances.map {|r| resource_class.new r}
end
+
+ def self.filters
+ Outliers::Filters::Aws::Ec2::Tags.filters
+ end
end
end
end
end