TigerData is a comprehensive set of data storage and management tools and services that provides storage capacity, reliability, functionality, and performance to meet the needs of a rapidly changing research landscape and to enable new opportunities for leveraging the power of institutional data.
Apache License 2.0
6
stars
0
forks
source link
Convert ProjectMetadata class to have ruby attributes instead of being based on a hash #769
Utilizing a hash is hard to test and unreliable. We would like the class to explicitly know about all attributes needed and be able to validate those attributes.
We also want the Metadata class to be able to be used to generate the json for the project.to_json and the jsonb for the database save.
What maintenance needs to be done?
Utilizing a hash is hard to test and unreliable. We would like the class to explicitly know about all attributes needed and be able to validate those attributes.
We also want the Metadata class to be able to be used to generate the json for the project.to_json and the jsonb for the database save.
Level of urgency
Acceptance criteria
ProjectMetadata.new(my_project).save_to_mediaflux
save_to_mediaflux
Implementation notes, if any