Method: J1App::GithubHelpers#github_public_organization_access?
- Defined in:
- lib/j1_app/j1_auth_manager/helpers_github.rb
#github_public_organization_access?(name) ⇒ Boolean
See if the user is a public member of the named organization
name - the organization name
Returns: true if the user is public access, false otherwise
59 60 61 |
# File 'lib/j1_app/j1_auth_manager/helpers_github.rb', line 59 def github_public_organization_access?(name) github_user.publicized_organization_member?(name) end |