Class: Ghub::Models::Permissions::Branch
- Inherits:
-
Struct
- Object
- Struct
- Ghub::Models::Permissions::Branch
- Defined in:
- lib/ghub/models/permissions/branch.rb
Overview
Defines branch permissions.
Instance Attribute Summary collapse
-
#contents ⇒ Object
Returns the value of attribute contents.
-
#issues ⇒ Object
Returns the value of attribute issues.
-
#metadata ⇒ Object
Returns the value of attribute metadata.
-
#single_file ⇒ Object
Returns the value of attribute single_file.
Instance Method Summary collapse
-
#initialize ⇒ Branch
constructor
A new instance of Branch.
Constructor Details
#initialize ⇒ Branch
Returns a new instance of Branch.
13 14 15 16 |
# File 'lib/ghub/models/permissions/branch.rb', line 13 def initialize(**) super freeze end |
Instance Attribute Details
#contents ⇒ Object
Returns the value of attribute contents
7 8 9 |
# File 'lib/ghub/models/permissions/branch.rb', line 7 def contents @contents end |
#issues ⇒ Object
Returns the value of attribute issues
7 8 9 |
# File 'lib/ghub/models/permissions/branch.rb', line 7 def issues @issues end |
#metadata ⇒ Object
Returns the value of attribute metadata
7 8 9 |
# File 'lib/ghub/models/permissions/branch.rb', line 7 def @metadata end |
#single_file ⇒ Object
Returns the value of attribute single_file
7 8 9 |
# File 'lib/ghub/models/permissions/branch.rb', line 7 def single_file @single_file end |