Sha256: 14857cde9418bab1000de2ae804dad928ae397b791bae55d60e6e14aa54f5ea0

Contents?: true

Size: 326 Bytes

Versions: 1

Compression:

Stored size: 326 Bytes

Contents

class YouTrack::Client::GetProjects < YouTrack::Client::Request
  def real
    service.request(
      :path   => "/project/all",
      :parser => YouTrack::Parser::ProjectsParser,
      :query  => {"verbose" => true},
    )
  end

  def mock
    service.response(
      :body => service.data[:projects].values
    )
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
you_track-0.3.0 lib/you_track/client/requests/get_projects.rb