Sha256: 33c674ae23734eff796735d9ca9921bab5799891c3ef791c53b035f790018ac8

Contents?: true

Size: 317 Bytes

Versions: 5

Compression:

Stored size: 317 Bytes

Contents

class YouTrack::Client::GetProjectCustomFields < YouTrack::Client::Request
  def real(id)
    service.request(
      :path   => "/admin/project/#{id}/customfield",
      :parser => YouTrack::Parser::ProjectCustomFieldsParser,
    )
  end

  def mock(id)
    service.response(body: find(:custom_fields, id))
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
you_track-0.4.4 lib/you_track/client/requests/get_project_custom_fields.rb
you_track-0.4.2 lib/you_track/client/requests/get_project_custom_fields.rb
you_track-0.4.1 lib/you_track/client/requests/get_project_custom_fields.rb
you_track-0.4.0 lib/you_track/client/requests/get_project_custom_fields.rb
you_track-0.3.0 lib/you_track/client/requests/get_project_custom_fields.rb