lib/githu3/org.rb in githu3-0.0.3 vs lib/githu3/org.rb in githu3-0.0.4
- old
+ new
@@ -3,10 +3,10 @@
module Githu3
class Org < Githu3::Resource
has_many :repos
has_many :teams
- has_many :members, :class_name => :user
+ has_many :members, :class_name => :user
has_many :public_members, :class_name => :user
def member?(user_login)
begin
_client.conn.get("/orgs/#{login}/members/#{user_login}").status == 204
\ No newline at end of file