Sha256: bf20180db3ef90c6b382be5352d61bcfa5e2d02c81f7fbcdc99f7daba3e3fefb
Contents?: true
Size: 502 Bytes
Versions: 13
Compression:
Stored size: 502 Bytes
Contents
require 'fog/ecloud/models/compute/tag' module Fog module Compute class Ecloud class Tags < Fog::Ecloud::Collection identity :href model Fog::Compute::Ecloud::Tag def all data = connection.get_tags(href).body[:DeviceTag] load(data) end def get(uri) if data = connection.get_tag(uri) new(data.body) end rescue Fog::Errors::NotFound nil end end end end end
Version data entries
13 entries across 13 versions & 7 rubygems