Sha256: e48fe3fa46c1c206fde0a0d34bd7f264a57a34e4514b750c096061dd22fe5d1c

Contents?: true

Size: 644 Bytes

Versions: 3

Compression:

Stored size: 644 Bytes

Contents

# encoding: utf-8

module GithubCLI
  class Search < API

    class << self

      def issue(params, options)
        output options do
          github_api(options).search.issues params
        end
      end

      def repo(params, options)
        output options do
          github_api(options).search.repos params
        end
      end

      def user(params, options)
        output options do
          github_api(options).search.users params
        end
      end

      def email(params, options)
        output options do
          github_api(options).search.email params
        end
      end

    end

  end # Search
end # GithubCLI

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
github_cli-0.6.2 lib/github_cli/apis/search.rb
github_cli-0.6.1 lib/github_cli/apis/search.rb
github_cli-0.6.0 lib/github_cli/apis/search.rb