Sha256: 0ac3154ef54a4c83668ba427eb2bf63ea6f1e63666acb7521bbdfc327abfae99
Contents?: true
Size: 504 Bytes
Versions: 23
Compression:
Stored size: 504 Bytes
Contents
require 'fog/rackspace/models/networking_v2/subnet' module Fog module Rackspace class NetworkingV2 class Subnets < Fog::Collection model Fog::Rackspace::NetworkingV2::Subnet def all data = service.list_subnets.body['subnets'] load(data) end def get(id) data = service.show_subnet(id).body['subnet'] new(data) rescue Fog::Rackspace::NetworkingV2::NotFound nil end end end end end
Version data entries
23 entries across 21 versions & 4 rubygems
Version | Path |
---|---|
fog-1.29.0 | lib/fog/rackspace/models/networking_v2/subnets.rb |
fog-1.28.0 | lib/fog/rackspace/models/networking_v2/subnets.rb |
fog-1.27.0 | lib/fog/rackspace/models/networking_v2/subnets.rb |