module Github class ReposResponseWrapper attr_reader :response def initialize(response=[], token) @response = [] response.each do |repo_info| @response << Github::Repo.new(repo_info, token) end end def count @response.count end end end