Revision 6329d8b3 src/oca/ruby/OpenNebula/VirtualMachine.rb

View differences:

src/oca/ruby/OpenNebula/VirtualMachine.rb
259 259
            short_state_str
260 260
        end
261 261

  
262
        # Returns the group identifier
263
        # [return] _Integer_ the element's group ID
264
        def gid
265
            self['GID'].to_i
266
        end
267

  
262 268
    private
263 269
        def action(name)
264 270
            return Error.new('ID not defined') if !@pe_id

Also available in: Unified diff