Class: JiraClient::User
Instance Attribute Summary collapse
-
#display_name ⇒ Object
readonly
Returns the value of attribute display_name.
-
#email_address ⇒ Object
readonly
Returns the value of attribute email_address.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#username ⇒ Object
readonly
Returns the value of attribute username.
Instance Method Summary collapse
Methods inherited from Base
attr_reader, conversions, convert, from_response, #initialize
Constructor Details
This class inherits a constructor from JiraClient::Base
Instance Attribute Details
#display_name ⇒ Object (readonly)
Returns the value of attribute display_name.
3 4 5 |
# File 'lib/jira_client/user.rb', line 3 def display_name @display_name end |
#email_address ⇒ Object (readonly)
Returns the value of attribute email_address.
3 4 5 |
# File 'lib/jira_client/user.rb', line 3 def email_address @email_address end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
3 4 5 |
# File 'lib/jira_client/user.rb', line 3 def name @name end |
#username ⇒ Object (readonly)
Returns the value of attribute username.
3 4 5 |
# File 'lib/jira_client/user.rb', line 3 def username @username end |
Instance Method Details
#active? ⇒ Boolean
5 6 7 |
# File 'lib/jira_client/user.rb', line 5 def active? @attrs[:active] == true end |
#to_s ⇒ Object
9 10 11 |
# File 'lib/jira_client/user.rb', line 9 def to_s display_name end |