Sha256: 40ec55ba82c3e697cb7536df6597f12b02aac18f1c6f1e51a38f9f7d2cedb020
Contents?: true
Size: 365 Bytes
Versions: 1
Compression:
Stored size: 365 Bytes
Contents
require 'pgit' module PGit module Pivotal class Projects < CollectionRequest def initialize(*args, &block) @api_token = args.first[:api_token] unless args.empty? yield self if block_given? end def api_token @api_token ? @api_token : super end def sublink 'projects' end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pgit-1.0.0 | lib/pgit/pivotal/projects.rb |