lib/git_handler.rb in git_handler-0.2.0 vs lib/git_handler.rb in git_handler-0.2.1

- old
+ new

@@ -5,6 +5,12 @@ require 'git_handler/configuration' require 'git_handler/request' require 'git_handler/git_command' require 'git_handler/session' -module GitHandler ; end +module GitHandler + # Shorthand for GitHandler::Session.new + # @return [Session] new session instance + def self.new(config) + GitHandler::Session.new(config) + end +end \ No newline at end of file