Sha256: e40622ea35f80843937f70552febf89e5d1fc419af260a9366bab0d582a16167

Contents?: true

Size: 276 Bytes

Versions: 2

Compression:

Stored size: 276 Bytes

Contents

# frozen_string_literal: true

module WhatsupGithub
  # Members of an organization
  class Members
    def initialize(org)
      @org = org
    end

    def client
      Octokit::Client.new(netrc: true)
    end

    def members
      client.org_members @org
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
whatsup_github-0.4.1 lib/whatsup_github/members.rb
whatsup_github-0.4.0 lib/whatsup_github/members.rb