Sha256: 7fbec65dd4cf5530230ee52d91e192cca140e40cb7550849d8c16214a315162f
Contents?: true
Size: 403 Bytes
Versions: 1
Compression:
Stored size: 403 Bytes
Contents
module Rapa module Responses class MultipleResourcesResponse < BaseResponse include ::Enumerable # @note Implementation for Enumerable def each(&block) resources.each(&block) end # @return [Array<Rapa::Resources::ItemResource>] def resources sources.map do |source| resource_class.new(source) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rapa-0.6.0 | lib/rapa/responses/multiple_resources_response.rb |