Sha256: b8dd93494bc146a0a3f6b38d06dad06d950c561df5aad2ed7bbb1367f8f60f17
Contents?: true
Size: 490 Bytes
Versions: 23
Compression:
Stored size: 490 Bytes
Contents
require 'fog/rackspace/models/networking_v2/port' module Fog module Rackspace class NetworkingV2 class Ports < Fog::Collection model Fog::Rackspace::NetworkingV2::Port def all data = service.list_ports.body['ports'] load(data) end def get(id) data = service.show_port(id).body['port'] 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/ports.rb |
fog-1.28.0 | lib/fog/rackspace/models/networking_v2/ports.rb |
fog-1.27.0 | lib/fog/rackspace/models/networking_v2/ports.rb |