lib/fog/aliyun/models/compute/route_table.rb in fog-aliyun-0.3.0 vs lib/fog/aliyun/models/compute/route_table.rb in fog-aliyun-0.3.1

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + require 'fog/core/model' module Fog module Compute class Aliyun class RouteTable < Fog::Model @@ -9,13 +11,13 @@ # {"Status"=>"Available", "Type"=>"System", "InstanceId"=>"", "RouteTableId"=>"vtb-2504onoxh", "DestinationCidrBlock"=>"172.16.1.0/24"}, # {"Status"=>"Available", "Type"=>"System", "InstanceId"=>"", "RouteTableId"=>"vtb-2504onoxh", "DestinationCidrBlock"=>"172.16.2.0/24"}, # {"Status"=>"Available", "Type"=>"System", "InstanceId"=>"", "RouteTableId"=>"vtb-2504onoxh", "DestinationCidrBlock"=>"100.64.0.0/10"}, # {"Status"=>"Available", "Type"=>"System", "InstanceId"=>"", "RouteTableId"=>"vtb-2504onoxh", "DestinationCidrBlock"=>"10.0.0.0/8"}]}, # "RouteTableId"=>"vtb-2504onoxh", "RouteTableType"=>"System", "VRouterId"=>"vrt-25azmd2wm"}]} - identity :id, aliases: 'RouteTableId' - attribute :created_at, aliases: 'CreationTime' - attribute :type, aliases: 'RouteTableType' - attribute :v_router_id, aliases: 'VRouterId' + identity :id, aliases: 'RouteTableId' + attribute :created_at, aliases: 'CreationTime' + attribute :type, aliases: 'RouteTableType' + attribute :v_router_id, aliases: 'VRouterId' # collection Fog::Compute::Aliyun::RouteEntrys def route_entrys @route_entrys ||= begin Fog::Compute::Aliyun::RouteEntrys.new( route_table: self,