module CuttingEdge::GitlabMixin::ClassMethods

Public Instance Methods

headers(auth_token) click to toggle source
# File lib/cutting_edge/repo.rb, line 62
def headers(auth_token)
  auth_token ? {:authorization => "Bearer #{auth_token}"} : {}
end