Sha256: a53fe5065ba12027a65a4d495a0f2e0d6af744bc7b89519ddc573eb69a4a247c
Contents?: true
Size: 455 Bytes
Versions: 6
Compression:
Stored size: 455 Bytes
Contents
require 'octokit' class ClientResolver def self.configure(login, password) @login = login @password = password dirty = false if @login != login dirty = true @login = login end if @password != password dirty = true @password = password end if dirty @instance = nil end end def self.client @instance ||= Octokit::Client.new(:login => @login, :password => @password) end end
Version data entries
6 entries across 6 versions & 1 rubygems