Revision 2447e7d9 src/cli/one_helper.rb

View differences:

src/cli/one_helper.rb
64 64
    OPTIONS = XML, NUMERIC, KILOBYTES
65 65

  
66 66
    class OneHelper
67
        def initialize
68
            @client = OpenNebula::Client.new
67
        def initialize(secret=nil, endpoint=nil)
68
            @client = OpenNebula::Client.new(secret,endpoint)
69 69
            @translation_hash = nil
70 70
        end
71 71

  

Also available in: Unified diff