Class: YoutrackOnRails::Responses::CreateIssue

Inherits:
SimpleResponse show all
Defined in:
lib/youtrack_on_rails/responses/create_issue.rb

Constant Summary

Constants inherited from Base

Base::SUCCESSFUL_RESPONSE_CODES

Instance Attribute Summary

Attributes inherited from Base

#code, #http_response, #xml

Instance Method Summary collapse

Methods inherited from Base

#cookie, #errors, #initialize, #success?

Constructor Details

This class inherits a constructor from YoutrackOnRails::Responses::Base

Instance Method Details

#processObject



4
5
6
7
8
9
10
# File 'lib/youtrack_on_rails/responses/create_issue.rb', line 4

def process
  if success?
    http_response['location']
  else
    false
  end
end