Sha256: ba334fcf9985daeabcf7426263871389ec427544b70e6e8f8341c143abeea7a2

Contents?: true

Size: 1.06 KB

Versions: 9

Compression:

Stored size: 1.06 KB

Contents

module Fog
  class Vcloud
    module Terremark
      class Vcloud < Fog::Vcloud
        request_path 'fog/vcloud/terremark/vcloud/requests'
        request :get_vdc

        class Real < Fog::Vcloud::Real

          def initialize(options = {})
            location = caller.first
            warning = "[yellow][WARN] Fog::Vcloud::Terremark::Vcloud is deprecated, to be replaced with Vcloud 1.0 someday/maybe[/]"
            warning << " [light_black](" << location << ")[/] "
            Formatador.display_line(warning)
            super
          end

          def supporting_versions
            ["0.8", "0.8a-ext1.6"]
          end

        end

        class Mock < Fog::Vcloud::Mock

          def initialize(options = {})
            location = caller.first
            warning = "[yellow][WARN] Fog::Vcloud::Terremark::Vcloud is deprecated, to be replaced with Vcloud 1.0 someday/maybe[/]"
            warning << " [light_black](" << location << ")[/] "
            Formatador.display_line(warning)
            super
          end

        end

      end
    end
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
fog-0.5.3 lib/fog/vcloud/terremark/vcloud.rb
fog-0.5.2 lib/fog/vcloud/terremark/vcloud.rb
fog-0.5.1 lib/fog/vcloud/terremark/vcloud.rb
fog-0.5.0 lib/fog/vcloud/terremark/vcloud.rb
phpfog-fog-0.4.1.3 lib/fog/vcloud/terremark/vcloud.rb
phpfog-fog-0.4.1.2 lib/fog/vcloud/terremark/vcloud.rb
phpfog-fog-0.4.1.1 lib/fog/vcloud/terremark/vcloud.rb
phpfog-fog-0.4.1 lib/fog/vcloud/terremark/vcloud.rb
fog-0.4.1 lib/fog/vcloud/terremark/vcloud.rb