Sha256: 332f67fee6a976f1448bd084b0f7216819cca6d0bb0ec2240b129eb7cd8c2bd5
Contents?: true
Size: 500 Bytes
Versions: 6
Compression:
Stored size: 500 Bytes
Contents
require File.expand_path("../tag", __FILE__) module Fog module Compute class Ecloud class Tags < Fog::Ecloud::Collection identity :href model Fog::Compute::Ecloud::Tag def all data = service.get_tags(href).body[:DeviceTag] load(data) end def get(uri) if data = service.get_tag(uri) new(data.body) end rescue Fog::Errors::NotFound nil end end end end end
Version data entries
6 entries across 6 versions & 2 rubygems