class Github::Client::Issues::Milestones
def list(*args)
- Api: - public
Options Hash:
(**params)-
:direction(String) -- -
:sort(String) -- -
:state(String) --
Parameters:
-
params(Hash) --
def list(*args) arguments(args, required: [:user, :repo]) do permit VALID_MILESTONE_OPTIONS.keys assert_values VALID_MILESTONE_OPTIONS end response = get_request("/repos/#{arguments.user}/#{arguments.repo}/milestones", arguments.params) return response unless block_given? response.each { |el| yield el } end