mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
16 lines
273 B
Ruby
16 lines
273 B
Ruby
|
require 'fog/joyent/models/compute/network'
|
||
|
module Fog
|
||
|
module Compute
|
||
|
class Joyent
|
||
|
class Networks < Fog::Collection
|
||
|
|
||
|
model Fog::Compute::Joyent::Network
|
||
|
|
||
|
def all
|
||
|
load(service.list_networks.body)
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|