class CircleCI::CLI::Response::Project
Public Class Methods
all()
click to toggle source
# File lib/circleci/cli/response/project.rb, line 15 def self.all CircleCi::Projects.new.get.body.map { |p| Project.new(p) } end
new(hash)
click to toggle source
# File lib/circleci/cli/response/project.rb, line 7 def initialize(hash) @hash = hash end
Public Instance Methods
information()
click to toggle source
# File lib/circleci/cli/response/project.rb, line 11 def information [@hash['username'], @hash['reponame']] end