Class: Ghub::Models::Permissions::Repository

Inherits:
Struct
  • Object
show all
Defined in:
lib/ghub/models/permissions/repository.rb

Overview

Defines repository permissions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeRepository

Returns a new instance of Repository.



14
15
16
17
# File 'lib/ghub/models/permissions/repository.rb', line 14

def initialize(**)
  super
  freeze
end

Instance Attribute Details

#adminObject

Returns the value of attribute admin

Returns:

  • (Object)

    the current value of admin



7
8
9
# File 'lib/ghub/models/permissions/repository.rb', line 7

def admin
  @admin
end

#maintainObject

Returns the value of attribute maintain

Returns:

  • (Object)

    the current value of maintain



7
8
9
# File 'lib/ghub/models/permissions/repository.rb', line 7

def maintain
  @maintain
end

#pullObject

Returns the value of attribute pull

Returns:

  • (Object)

    the current value of pull



7
8
9
# File 'lib/ghub/models/permissions/repository.rb', line 7

def pull
  @pull
end

#pushObject

Returns the value of attribute push

Returns:

  • (Object)

    the current value of push



7
8
9
# File 'lib/ghub/models/permissions/repository.rb', line 7

def push
  @push
end

#triageObject

Returns the value of attribute triage

Returns:

  • (Object)

    the current value of triage



7
8
9
# File 'lib/ghub/models/permissions/repository.rb', line 7

def triage
  @triage
end