class GitLab::List

Attributes

email[RW]
id[RW]
name[RW]

Public Class Methods

all() click to toggle source
# File lib/GitLab/list.rb, line 11
def self.all
  board_id = GitLab.request_get("projects/#{$GITLAB_PROJECT_ID}/boards")[0]["id"] rescue nil
  if board_id
      return GitLab.request_get("projects/#{$GITLAB_PROJECT_ID}/boards/#{board_id}/lists")
  end
end
get_next_release_list() click to toggle source
# File lib/GitLab/list.rb, line 8
def self.get_next_release_list
  self.all.select{|list| list["label"]["name"] == $GITLAB_NEXT_RELEASE_LIST}  end
new(params = {}) click to toggle source
# File lib/GitLab/list.rb, line 4
def initialize(params = {})
  @name = params[:name]
end

Public Instance Methods

to_s() click to toggle source
# File lib/GitLab/list.rb, line 18
def to_s
end