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

View differences:

src/oca/ruby/OpenNebula/Template.rb
103 103
            set_publish(false)
104 104
        end
105 105

  
106
        # ---------------------------------------------------------------------
107
        # Helpers to get Template information
108
        # ---------------------------------------------------------------------
109

  
110
        # Returns the group identifier
111
        # [return] _Integer_ the element's group ID
112
        def gid
113
            self['GID'].to_i
114
        end
115

  
106 116
    private
107 117

  
108 118
        def set_publish(published)

Also available in: Unified diff