class OhlohScm::Scm
Attributes
branch_name[RW]
password[R]
url[R]
username[R]
Public Class Methods
new(core:, url:, branch_name: nil, username: nil, password: nil)
click to toggle 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
Public Instance Methods
normalize()
click to toggle source
# File lib/ohloh_scm/scm.rb, line 20 def normalize; end
pull(_, _)
click to toggle source
# File lib/ohloh_scm/scm.rb, line 22 def pull(_, _); end
vcs_path()
click to toggle source
# File lib/ohloh_scm/scm.rb, line 24 def vcs_path; end