Class: Github::Organization

Inherits:
OpenStruct show all
Includes:
Api
Defined in:
lib/github.rb

Instance Method Summary collapse

Methods included from Api

#fetch, included

Methods inherited from OpenStruct

#[], #[]=

Instance Method Details

#member_emailsObject



152
153
154
# File 'lib/github.rb', line 152

def member_emails
  users.map { |user| user['email'] }.select(&:present?).join(',')
end

#pathObject



156
157
158
# File 'lib/github.rb', line 156

def path
  "organizations/#{name}/public_members"
end