lib/how_is/sources/github/pulls.rb in how_is-24.0.0 vs lib/how_is/sources/github/pulls.rb in how_is-25.0.0

- old
+ new

@@ -1,28 +1,29 @@ # frozen_string_literal: true -require "how_is/version" -require "how_is/sources/github" -require "how_is/sources/github_helpers" -require "date" +require "how_is/sources/github/issues" -module HowIs::Sources - class Github - class Pulls < Issues - def url_suffix - "pulls" - end +module HowIs + module Sources + class Github + ## + # Fetches various information about GitHub Pull Requests + class Pulls < Issues + def url_suffix + "pulls" + end - def singular_type - "pull" - end + def singular_type + "pull" + end - def type - "pullRequests" - end + def type + "pullRequests" + end - def pretty_type - "pull request" + def pretty_type + "pull request" + end end end end end