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