fog/fog-ecloud

View on GitHub
lib/fog/compute/ecloud/models/tag.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Fog
  module Compute
    class Ecloud
      class Tag < Fog::Ecloud::Model
        identity :name

        def id
          href.scan(/\d+/)[0]
        end
      end
    end
  end
end