Class: Ghub::Models::Permissions::Branch

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

Overview

Defines branch permissions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBranch

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

#contentsObject

Returns the value of attribute contents

Returns:

  • (Object)

    the current value of contents



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

def contents
  @contents
end

#issuesObject

Returns the value of attribute issues

Returns:

  • (Object)

    the current value of issues



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

def issues
  @issues
end

#metadataObject

Returns the value of attribute metadata

Returns:

  • (Object)

    the current value of metadata



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

def 
  @metadata
end

#single_fileObject

Returns the value of attribute single_file

Returns:

  • (Object)

    the current value of single_file



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

def single_file
  @single_file
end