Sha256: 12e181a1eb9dc444fc06071ae6fc73e890ca3a251b3637f950a915ebcda34115

Contents?: true

Size: 301 Bytes

Versions: 13

Compression:

Stored size: 301 Bytes

Contents

class YouTrack::Client::GetIssue < YouTrack::Client::Request
  def real(issue_id)
    service.request(
      :path   => "/issue/#{issue_id}",
      :parser => YouTrack::Parser::IssueParser,
    )
  end

  def mock(issue_id)
    service.response(
      :body => find(:issues, issue_id)
    )
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
you_track-0.4.8 lib/you_track/client/requests/get_issue.rb
you_track-0.4.7 lib/you_track/client/requests/get_issue.rb
you_track-0.4.6 lib/you_track/client/requests/get_issue.rb
you_track-0.4.5 lib/you_track/client/requests/get_issue.rb
you_track-0.4.4 lib/you_track/client/requests/get_issue.rb
you_track-0.4.2 lib/you_track/client/requests/get_issue.rb
you_track-0.4.1 lib/you_track/client/requests/get_issue.rb
you_track-0.4.0 lib/you_track/client/requests/get_issue.rb
you_track-0.3.0 lib/you_track/client/requests/get_issue.rb
you_track-0.2.2 lib/you_track/client/get_issue.rb
you_track-0.2.1 lib/you_track/client/get_issue.rb
you_track-0.2.0 lib/you_track/client/get_issue.rb
you_track-0.1.0 lib/you_track/client/get_issue.rb