Class: Tinybucket::Model::BranchRestriction

Inherits:
Base
  • Object
show all
Includes:
Concerns::RepositoryKeys
Defined in:
lib/tinybucket/model/branch_restriction.rb

Overview

BranchRestriction

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#attributes, #attributes=, concern_included?, #initialize

Constructor Details

This class inherits a constructor from Tinybucket::Model::Base

Instance Attribute Details

#groupsArray

Returns:

  • (Array)


24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# File 'lib/tinybucket/model/branch_restriction.rb', line 24

class BranchRestriction < Base
  include Tinybucket::Model::Concerns::RepositoryKeys

  acceptable_attributes :groups, :id, :kind, :links, :pattern, :users, :uuid

  # Update this branch restriction
  #
  # @todo to be implemented
  # @raise [NotImplementedError] to be implemented.
  def update(_params)
    raise NotImplementedError
  end

  # Delete this branch restriction
  #
  # @todo to be implemented
  # @raise [NotImplementedError] to be implemented.
  def destroy
    raise NotImplementedError
  end
end

#idFixnum

Returns:

  • (Fixnum)


24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# File 'lib/tinybucket/model/branch_restriction.rb', line 24

class BranchRestriction < Base
  include Tinybucket::Model::Concerns::RepositoryKeys

  acceptable_attributes :groups, :id, :kind, :links, :pattern, :users, :uuid

  # Update this branch restriction
  #
  # @todo to be implemented
  # @raise [NotImplementedError] to be implemented.
  def update(_params)
    raise NotImplementedError
  end

  # Delete this branch restriction
  #
  # @todo to be implemented
  # @raise [NotImplementedError] to be implemented.
  def destroy
    raise NotImplementedError
  end
end

#kindString

Returns:

  • (String)


24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# File 'lib/tinybucket/model/branch_restriction.rb', line 24

class BranchRestriction < Base
  include Tinybucket::Model::Concerns::RepositoryKeys

  acceptable_attributes :groups, :id, :kind, :links, :pattern, :users, :uuid

  # Update this branch restriction
  #
  # @todo to be implemented
  # @raise [NotImplementedError] to be implemented.
  def update(_params)
    raise NotImplementedError
  end

  # Delete this branch restriction
  #
  # @todo to be implemented
  # @raise [NotImplementedError] to be implemented.
  def destroy
    raise NotImplementedError
  end
end

Returns:

  • (Hash)


24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# File 'lib/tinybucket/model/branch_restriction.rb', line 24

class BranchRestriction < Base
  include Tinybucket::Model::Concerns::RepositoryKeys

  acceptable_attributes :groups, :id, :kind, :links, :pattern, :users, :uuid

  # Update this branch restriction
  #
  # @todo to be implemented
  # @raise [NotImplementedError] to be implemented.
  def update(_params)
    raise NotImplementedError
  end

  # Delete this branch restriction
  #
  # @todo to be implemented
  # @raise [NotImplementedError] to be implemented.
  def destroy
    raise NotImplementedError
  end
end

#patternString

Returns:

  • (String)


24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# File 'lib/tinybucket/model/branch_restriction.rb', line 24

class BranchRestriction < Base
  include Tinybucket::Model::Concerns::RepositoryKeys

  acceptable_attributes :groups, :id, :kind, :links, :pattern, :users, :uuid

  # Update this branch restriction
  #
  # @todo to be implemented
  # @raise [NotImplementedError] to be implemented.
  def update(_params)
    raise NotImplementedError
  end

  # Delete this branch restriction
  #
  # @todo to be implemented
  # @raise [NotImplementedError] to be implemented.
  def destroy
    raise NotImplementedError
  end
end

#usersArray

Returns:

  • (Array)


24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# File 'lib/tinybucket/model/branch_restriction.rb', line 24

class BranchRestriction < Base
  include Tinybucket::Model::Concerns::RepositoryKeys

  acceptable_attributes :groups, :id, :kind, :links, :pattern, :users, :uuid

  # Update this branch restriction
  #
  # @todo to be implemented
  # @raise [NotImplementedError] to be implemented.
  def update(_params)
    raise NotImplementedError
  end

  # Delete this branch restriction
  #
  # @todo to be implemented
  # @raise [NotImplementedError] to be implemented.
  def destroy
    raise NotImplementedError
  end
end

#uuidNillClass

Returns:

  • (NillClass)


24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# File 'lib/tinybucket/model/branch_restriction.rb', line 24

class BranchRestriction < Base
  include Tinybucket::Model::Concerns::RepositoryKeys

  acceptable_attributes :groups, :id, :kind, :links, :pattern, :users, :uuid

  # Update this branch restriction
  #
  # @todo to be implemented
  # @raise [NotImplementedError] to be implemented.
  def update(_params)
    raise NotImplementedError
  end

  # Delete this branch restriction
  #
  # @todo to be implemented
  # @raise [NotImplementedError] to be implemented.
  def destroy
    raise NotImplementedError
  end
end

Instance Method Details

#destroyObject

TODO:

to be implemented

Delete this branch restriction

Raises:

  • (NotImplementedError)

    to be implemented.



41
42
43
# File 'lib/tinybucket/model/branch_restriction.rb', line 41

def destroy
  raise NotImplementedError
end

#update(_params) ⇒ Object

TODO:

to be implemented

Update this branch restriction

Raises:

  • (NotImplementedError)

    to be implemented.



33
34
35
# File 'lib/tinybucket/model/branch_restriction.rb', line 33

def update(_params)
  raise NotImplementedError
end