Sha256: dee9f2a0d4df51d047e49c46b1704a69f9062fac5bc4896a04e19d0f69f1e639
Contents?: true
Size: 536 Bytes
Versions: 2
Compression:
Stored size: 536 Bytes
Contents
require_relative 'private_network' module Fog module Compute class OneAndOne class PrivateNetworks < Fog::Collection model Fog::Compute::OneAndOne::PrivateNetwork def all response = service.list_private_networks load(response.body) end def get(id) response = service.get_private_network(id) new(response.body) rescue Excon::Errors::NotFound nil end end # PrivateNetworks end # OneAndOne end # Compute end # Fog
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fog-oneandone-1.2 | lib/oneandone/models/compute/private_networks.rb |
fog-oneandone-1.0 | lib/oneandone/models/compute/private_networks.rb |