Sha256: add7109f5a67736dcf33de66db4769612a3b1d5b8d057fb87a22533da67b9f07
Contents?: true
Size: 499 Bytes
Versions: 1
Compression:
Stored size: 499 Bytes
Contents
require 'forwardable' module PGit class Project class Application extend Forwardable def_delegators :@project, :exists?, :save! def_delegators :@config, :projects attr_reader :project def initialize(global_opts, opts, args) @config = PGit::Configuration.new @project = PGit::Project.new(@config) do |p| p.path = opts["path"] p.api_token = opts["api_token"] p.id = opts["id"] end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pgit-1.0.0 | lib/pgit/project/application.rb |