Sha256: 230a1a5124f3410f4f6933c1d242833fe980a3fc7d98d9153cf89828584ec933
Contents?: true
Size: 474 Bytes
Versions: 65
Compression:
Stored size: 474 Bytes
Contents
require 'fog/core/collection' require 'fog/bluebox/models/dns/zone' module Fog module DNS class Bluebox class Zones < Fog::Collection model Fog::DNS::Bluebox::Zone def all data = service.get_zones.body['zones'] load(data) end def get(zone_id) data = service.get_zone(zone_id).body new(data) rescue Fog::Service::NotFound nil end end end end end
Version data entries
65 entries across 65 versions & 6 rubygems