Sha256: f4ed0c1f649109825b33c604bd3723d1c36254ced4e1e77d088e8b3975bd4b17
Contents?: true
Size: 340 Bytes
Versions: 8
Compression:
Stored size: 340 Bytes
Contents
module Awspec::Type class Subnet < Base def initialize(id) super @resource = find_subnet(id) @id = @resource[:subnet_id] if @resource end STATES = %w( available pending ) STATES.each do |state| define_method state + '?' do @resource[:state] == state end end end end
Version data entries
8 entries across 8 versions & 1 rubygems