Class: JIRA::Permission

Inherits:
Entity
  • Object
show all
Defined in:
lib/jiraSOAP/entities/permission.rb

Overview

A permission id and the username that it is tied to.

Instance Method Summary collapse

Methods inherited from Entity

add_attribute, inherited, #initialize_with_xml, new_with_xml

Instance Method Details

#nameString

The permission type

Returns:

  • (String)


9
# File 'lib/jiraSOAP/entities/permission.rb', line 9

add_attribute :name, 'name', :content

#permissionNumber

A unique id number

Returns:

  • (Number)


15
# File 'lib/jiraSOAP/entities/permission.rb', line 15

add_attribute :permission, 'permission', :to_i