Sha256: 1a79588cf7a87b9fa304511d56b57ebcb3e4dcd9151e0b9ef5d4cb5de5f6825f

Contents?: true

Size: 284 Bytes

Versions: 9

Compression:

Stored size: 284 Bytes

Contents

class YouTrack::Client::GetAdminUser < YouTrack::Client::Request
  def real(id)
    service.request(
      :path   => "/admin/user/#{id}",
      :parser => YouTrack::Parser::UserParser,
    )
  end

  def mock(id)
    service.response(
      :body => find(:users, id)
    )
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
you_track-0.4.8 lib/you_track/client/requests/get_admin_user.rb
you_track-0.4.7 lib/you_track/client/requests/get_admin_user.rb
you_track-0.4.6 lib/you_track/client/requests/get_admin_user.rb
you_track-0.4.5 lib/you_track/client/requests/get_admin_user.rb
you_track-0.4.4 lib/you_track/client/requests/get_admin_user.rb
you_track-0.4.2 lib/you_track/client/requests/get_admin_user.rb
you_track-0.4.1 lib/you_track/client/requests/get_admin_user.rb
you_track-0.4.0 lib/you_track/client/requests/get_admin_user.rb
you_track-0.3.0 lib/you_track/client/requests/get_admin_user.rb