module Veewee
  module Provider
    module Kvm
      module BoxCommand
        def ip_address
          ip=@connection.servers.all(:name => "#{name}").first.addresses[:public]
          return ip.first unless ip.nil?
          return ip
        end

      end # End Module
    end # End Module
  end # End Module
end # End Module

module Veewee
  module Provider
    module Kvm
      module BoxCommand
        def ip_address
          ip=@connection.servers.all(:name => "#{name}").first.public_ip_address
          return ip.first unless ip.nil?
          return ip
        end

      end # End Module
    end # End Module
  end # End Module
end # End Module

Use public Fog methods to get public IP address
Use public Fog methods to get public IP address

Previous to this commit, the private method #address was called to get
the public IP address of an instance, which caused an exception.  This
commit calls the public #public_ip_address method instead
