Sha256: 6d5af11e14876537f80ed495ca8cb1d472dc4e259a3b6f1ffd10230c37747216
Contents?: true
Size: 456 Bytes
Versions: 8
Compression:
Stored size: 456 Bytes
Contents
module Awspec::Type class DirectconnectVirtualInterface < Base def initialize(id) super @resource = find_virtual_interface(id) @id = @resource[:virtual_interface_id] if @resource end STATES = %w( confirming verifying pending available deleting deleted rejected ) STATES.each do |state| define_method state + '?' do @resource[:virtual_interface_state] == state end end end end
Version data entries
8 entries across 8 versions & 1 rubygems