Class: YoutrackOnRails::Responses::ResourceResponse

Inherits:
CollectionResponse show all
Defined in:
lib/youtrack_on_rails/responses/resource_response.rb

Direct Known Subclasses

GetCustomField

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

#process(&block) ⇒ Object



4
5
6
# File 'lib/youtrack_on_rails/responses/resource_response.rb', line 4

def process(&block)
  super.first
end