Class: QualtricsAPI::ResponseExportCollection

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Includes:
Enumerable
Defined in:
lib/qualtrics_api/response_export_collection.rb

Instance Method Summary collapse

Instance Method Details

#[](export_id) ⇒ Object



12
13
14
# File 'lib/qualtrics_api/response_export_collection.rb', line 12

def [](export_id)
  find(export_id)
end

#find(export_id) ⇒ Object



16
17
18
19
20
# File 'lib/qualtrics_api/response_export_collection.rb', line 16

def find(export_id)
  @all.detect do |response_export|
    response_export.id == export_id
  end || QualtricsAPI::ResponseExport.new(:id => export_id)
end