class Checklister::Gitlab::ProjectDecorator

Public Class Methods

new(object) click to toggle source
# File lib/checklister/gitlab/project.rb, line 4
def initialize(object)
  @object = object
end

Public Instance Methods

description() click to toggle source
# File lib/checklister/gitlab/project.rb, line 16
def description
  @object.description
end
id() click to toggle source
# File lib/checklister/gitlab/project.rb, line 8
def id
  @object.id
end
name() click to toggle source
# File lib/checklister/gitlab/project.rb, line 12
def name
  @object.name_with_namespace
end
to_hash() click to toggle source
# File lib/checklister/gitlab/project.rb, line 20
def to_hash
  { id: id, name: name, description: description }
end