Class: Ghub::Models::Permissions::Repository
- Inherits:
-
Struct
- Object
- Struct
- Ghub::Models::Permissions::Repository
- Defined in:
- lib/ghub/models/permissions/repository.rb
Overview
Defines repository permissions.
Instance Attribute Summary collapse
-
#admin ⇒ Object
Returns the value of attribute admin.
-
#maintain ⇒ Object
Returns the value of attribute maintain.
-
#pull ⇒ Object
Returns the value of attribute pull.
-
#push ⇒ Object
Returns the value of attribute push.
-
#triage ⇒ Object
Returns the value of attribute triage.
Instance Method Summary collapse
-
#initialize ⇒ Repository
constructor
A new instance of Repository.
Constructor Details
#initialize ⇒ Repository
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
#admin ⇒ Object
Returns the value of attribute admin
7 8 9 |
# File 'lib/ghub/models/permissions/repository.rb', line 7 def admin @admin end |
#maintain ⇒ Object
Returns the value of attribute maintain
7 8 9 |
# File 'lib/ghub/models/permissions/repository.rb', line 7 def maintain @maintain end |
#pull ⇒ Object
Returns the value of attribute pull
7 8 9 |
# File 'lib/ghub/models/permissions/repository.rb', line 7 def pull @pull end |
#push ⇒ Object
Returns the value of attribute push
7 8 9 |
# File 'lib/ghub/models/permissions/repository.rb', line 7 def push @push end |
#triage ⇒ Object
Returns the value of attribute triage
7 8 9 |
# File 'lib/ghub/models/permissions/repository.rb', line 7 def triage @triage end |