Sha256: a7af8179e73c489145c587d963a8257a17783e417a53d60c26630f69638bb0f7
Contents?: true
Size: 537 Bytes
Versions: 23
Compression:
Stored size: 537 Bytes
Contents
require 'fog/core/collection' require 'fog/rackspace/models/cdn_v2/service' module Fog module Rackspace class CDNV2 < Fog::Service class Services < Fog::Collection model Fog::Rackspace::CDNV2::Service def all(options={}) data = service.list_services(options).body['services'] load(data) end def get(id) data = service.get_service(id).body new(data) rescue Fog::Rackspace::CDNV2::NotFound nil end end end end end
Version data entries
23 entries across 21 versions & 4 rubygems