class Gitl::GitlConfig::GitlabConfig

Attributes

endpoint[R]
private_token[RW]

Public Class Methods

new(node) click to toggle source
# File lib/config/gitl_config.rb, line 58
def initialize(node)
  @endpoint = node['endpoint']
  @private_token = node['private_token']
end

Public Instance Methods

to_dictionary() click to toggle source
# File lib/config/gitl_config.rb, line 63
def to_dictionary
  {"endpoint"=>self.endpoint, "private_token"=>private_token}
end