class Circler::Project
Public Class Methods
all()
click to toggle source
# File lib/circler/response/project.rb, line 13 def self.all CircleCi::Projects.new.get.body.map { |p| Project.new(p) } end
new(hash)
click to toggle source
# File lib/circler/response/project.rb, line 5 def initialize(hash) @hash = hash end
Public Instance Methods
information()
click to toggle source
# File lib/circler/response/project.rb, line 9 def information [@hash['username'], @hash['reponame']] end