mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-08 23:18:18 -07:00
Rename DataAvailability to Summary
This commit is contained in:
parent
09963c3323
commit
0ed6cbe6b4
8 changed files with 74 additions and 22 deletions
|
|
@ -1,4 +0,0 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class DataAvailability < Struct.new(:id, :description, :available?)
|
||||
end
|
||||
4
app/models/summary.rb
Normal file
4
app/models/summary.rb
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class Summary < Struct.new(:id, :description, :available?)
|
||||
end
|
||||
|
|
@ -29,6 +29,6 @@ class SurveyItem < ActiveRecord::Base
|
|||
}
|
||||
|
||||
def description
|
||||
DataAvailability.new(survey_item_id, prompt, true)
|
||||
Summary.new(survey_item_id, prompt, true)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue