Class: JIRA::Resource::UserFactory
- Inherits:
-
BaseFactory
- Object
- BaseFactory
- JIRA::Resource::UserFactory
- Defined in:
- lib/jira/resource/user.rb
Overview
:nodoc:
Instance Attribute Summary
Attributes inherited from BaseFactory
Instance Method Summary collapse
Methods inherited from BaseFactory
#build, delegate_to_target_class, #initialize, #target_class
Constructor Details
This class inherits a constructor from JIRA::BaseFactory
Instance Method Details
#myself ⇒ Object
4 5 6 7 8 9 |
# File 'lib/jira/resource/user.rb', line 4 def myself instance = build response = client.get("#{client.[:rest_base_path]}/myself") instance.set_attrs_from_response(response) instance end |