Sha256: 3dab9b54e43102bb2a3b5dc513ca068562a53ffbcc632bc2ae6cfdc7632e71fc
Contents?: true
Size: 735 Bytes
Versions: 9
Compression:
Stored size: 735 Bytes
Contents
module Fog module Compute class QingCloud class Real # {API Reference}[https://docs.qingcloud.com/api/router/modify_router_attributes.html] def modify_router_attributes(id, attributes) args = {'action' => 'ModifyRouterAttributes', 'router' => id, 'eip' => attributes['eip'], 'security_group' => attributes['security_group_id'], 'router_name' => attributes['name'], 'description' => attributes['description']} args['eip'] ||= '' request(args) end end class Mock def modify_router_attributes(id, attributes) end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems