Sha256: 32fc8b9bc64aa7b18367a5e2c7fbf952536b38335d08fc71c9220fd7e054f2fa

Contents?: true

Size: 283 Bytes

Versions: 7

Compression:

Stored size: 283 Bytes

Contents

class YouTrack::Client::GetCurrentUser < YouTrack::Client::Request
  def real
    service.request(
      :path   => "/user/current",
      :parser => YouTrack::Parser::UserParser,
    )
  end

  def mock
    service.response(
      :body => service.set_current_user,
    )
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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