Method: Fog::Compute::IBM::Mock#list_vlans
- Defined in:
- lib/fog/ibm/requests/compute/list_vlans.rb
permalink #list_vlans ⇒ Object
[View source]
34 35 36 37 38 39 40 41 42 |
# File 'lib/fog/ibm/requests/compute/list_vlans.rb', line 34 def list_vlans response = Excon::Response.new response.status = 200 response.body = {"vlan"=> [{"location"=>"101", "id"=>"75321", "name"=>"FOG-VLAN1"}]} response end |