Parent

Class/Module Index [+]

Quicksearch

Ironfan::Dsl::Ec2::SecurityGroup

Public Instance Methods

authorize_group(other_name) click to toggle source
# File lib/ironfan/dsl/ec2.rb, line 138
def authorize_group(other_name)
  group_authorized << other_name.to_s
  group_authorized.compact!
  group_authorized.uniq!
end
authorize_port_range(range, cidr_ip = '0.0.0.0/0', ip_protocol = 'tcp') click to toggle source
# File lib/ironfan/dsl/ec2.rb, line 125
def authorize_port_range(range, cidr_ip = '0.0.0.0/0', ip_protocol = 'tcp')
  range = (range .. range) if range.is_a?(Integer)
  range_authorizations << [range, cidr_ip, ip_protocol]
  range_authorizations.compact!
  range_authorizations.uniq!
end
authorized_by_group(other_name) click to toggle source
# File lib/ironfan/dsl/ec2.rb, line 132
def authorized_by_group(other_name)
  group_authorized_by << other_name.to_s
  group_authorized_by.compact!
  group_authorized_by.uniq!
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.