Sha256: 58ca2cc78bc0a52d7b650d69237ba09c8a2ba2ca379827030cc4a62db3982969
Contents?: true
Size: 456 Bytes
Versions: 2
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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
awspec-0.22.1 | lib/awspec/type/directconnect_virtual_interface.rb |
awspec-0.22.0 | lib/awspec/type/directconnect_virtual_interface.rb |