<commit_before># encoding: utf-8

module Github
  # Organizations API
  class Client::Orgs < API

    require_all 'github_api/client/orgs',
                'members',
                'teams'

    # Access to Client::Orgs::Members API
    namespace :members

    # Access to Client::Orgs::Teams API
    namespace :teams

    # List all organizations
    #
    # Lists all organizations, in the order that they were created on GitHub.
    #
    # @see https://developer.github.com/v3/orgs/#list-all-organizations
    #
    # @param [Hash] params
    # @option params [String] :since
    #   The integer ID of the last Organization that you've seen.
    #
    # @example
    #   github = Github.new
    #   github.orgs.list :every
    #
    # List all public organizations for a user.
    #
    # @see https://developer.github.com/v3/orgs/#list-user-organizations
    #
    # @example<commit_msg>Add new endpoint.<commit_after># encoding: utf-8

module Github
  # Organizations API
  class Client::Orgs < API

    require_all 'github_api/client/orgs',
                'members',
                'teams'

    # Access to Client::Orgs::Members API
    namespace :members

    # Access to Client::Orgs::Memberships API
    namespace :memberships

    # Access to Client::Orgs::Teams API
    namespace :teams

    # List all organizations
    #
    # Lists all organizations, in the order that they were created on GitHub.
    #
    # @see https://developer.github.com/v3/orgs/#list-all-organizations
    #
    # @param [Hash] params
    # @option params [String] :since
    #   The integer ID of the last Organization that you've seen.
    #
    # @example
    #   github = Github.new
    #   github.orgs.list :every
    #
    # List all public organizations for a user.
    #
    # @see https://developer.github.com/v3/orgs/#list-user-organizations
    #
    # @example
{'fraction_non_alphanumeric': 0.1046137339055794, 'fraction_numerical': 0.003218884120171674, 'mean_word_length': 2.3543165467625897, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5603501', 'n_tokens_mistral': 589, 'n_tokens_neox': 563, 'n_words': 157}