Class: PGit::Pivotal::CollectionRequest

Inherits:
Request
  • Object
show all
Defined in:
lib/pgit/pivotal/collection_request.rb

Direct Known Subclasses

Iterations, Projects

Instance Method Summary collapse

Methods inherited from Request

#api_token, #api_version, #before_initialize, #configuration, #current_project, #get_request, #link

Instance Method Details

#get!Object



4
5
6
7
8
# File 'lib/pgit/pivotal/collection_request.rb', line 4

def get!
  hashes_of_items.map do |item_hash|
    individual.new {|iter| iter.hash = item_hash}
  end
end