enum

GitHub::AuthorAssociation

Inherits Enum < Comparable < Value < Object

Constants

COLLABORATOR = 0

Author has been invited to collaborate on the repository.

CONTRIBUTOR = 1

Author has previously committed to the repository.

FIRST_TIMER = 2

Author has not previously committed to GitHub.

FIRST_TIME_CONTRIBUTOR = 3

Author has not previously committed to the repository.

MANNEQUIN = 4

Author is a placeholder for an unclaimed user.

MEMBER = 5

Author is a member of the organization that owns the repository.

NONE = 6

Author has no association with the repository.

OWNER = 7

Author is the owner of the repository.

Instance methods

collaborator?

Returns true if this enum value equals COLLABORATOR

Source
contributor?

Returns true if this enum value equals CONTRIBUTOR

Source
first_time_contributor?

Returns true if this enum value equals FIRST_TIME_CONTRIBUTOR

Source
first_timer?

Returns true if this enum value equals FIRST_TIMER

Source
mannequin?

Returns true if this enum value equals MANNEQUIN

Source
member?

Returns true if this enum value equals MEMBER

Source
none?

Returns true if this enum value equals NONE

Source
owner?

Returns true if this enum value equals OWNER

Source