Method: Awspec::Type::RouteTable#initialize

Defined in:
lib/awspec/type/route_table.rb

#initialize(id) ⇒ RouteTable

Returns a new instance of RouteTable.



5
6
7
8
9
# File 'lib/awspec/type/route_table.rb', line 5

def initialize(id)
  super
  @resource_via_client = find_route_table(id)
  @id = @resource_via_client[:route_table_id] if @resource_via_client
end