Class: Tinybucket::Model::BranchRestriction
- Includes:
- Concerns::RepositoryKeys
- Defined in:
- lib/tinybucket/model/branch_restriction.rb
Overview
BranchRestriction
Instance Attribute Summary collapse
- #groups ⇒ Array
- #id ⇒ Fixnum
- #kind ⇒ String
- #links ⇒ Hash
- #pattern ⇒ String
- #users ⇒ Array
- #uuid ⇒ NillClass
Instance Method Summary collapse
-
#destroy ⇒ Object
Delete this branch restriction.
-
#update(_params) ⇒ Object
Update this branch restriction.
Methods inherited from Base
#attributes, #attributes=, concern_included?, #initialize
Constructor Details
This class inherits a constructor from Tinybucket::Model::Base
Instance Attribute Details
#groups ⇒ 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 |
#id ⇒ 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 |
#kind ⇒ 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 |
#links ⇒ 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 |
#pattern ⇒ 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 |
#users ⇒ 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 |
#uuid ⇒ 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
#destroy ⇒ Object
TODO:
to be implemented
Delete this branch restriction
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
33 34 35 |
# File 'lib/tinybucket/model/branch_restriction.rb', line 33 def update(_params) raise NotImplementedError end |