class OhlohScm::Scm
Attributes
Public Class Methods
Source
# File lib/ohloh_scm/scm.rb, line 11 def initialize(core:, url:, branch_name: nil, username: nil, password: nil) @core = core @url = url.strip if url @branch_name = branch_name&.strip @branch_name = nil if branch_name&.empty? @username = username&.strip @password = password&.strip end