Class: Github::Organization
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- Github::Organization
- Includes:
- Api
- Defined in:
- lib/github.rb
Instance Method Summary collapse
Methods included from Api
Methods inherited from OpenStruct
Instance Method Details
#member_emails ⇒ Object
152 153 154 |
# File 'lib/github.rb', line 152 def member_emails users.map { |user| user['email'] }.select(&:present?).join(',') end |
#path ⇒ Object
156 157 158 |
# File 'lib/github.rb', line 156 def path "organizations/#{name}/public_members" end |