to_params -> to_array
This commit is contained in:
parent
3e16eff9a0
commit
182afee970
3 changed files with 4 additions and 4 deletions
|
@ -4,7 +4,7 @@ class ApiEntreprise::ExercicesAdapter
|
|||
@procedure_id = procedure_id
|
||||
end
|
||||
|
||||
def to_params
|
||||
def to_array
|
||||
data_source[:exercices].map do |exercice|
|
||||
exercice.slice(*attr_to_fetch)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue