Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[8] pry(main)> mo = MediaObject.new
=> #<MediaObject pid:"", avalon_uploader:nil, avalon_publisher:nil, title:nil, alternative_title:[], translated_title:[], uniform_title:[], statement_of_responsibility:nil, creator:[], date_created:nil, date_issued:nil, copyright_date:nil, abstract:nil, note:[], format:nil, contributor:[], publisher:[], genre:[], subject:[], related_item:[], geographic_subject:[], temporal_subject:[], topical_subject:[], duration:nil, section_pid:[]>
[9] pry(main)> mo.DC.creator = "Adam"
=> "Adam"
[10] pry(main)> mo.DC.creator
=> ["Adam"]
@phuongdh

This comment has been minimized.

Copy link
Owner Author

phuongdh commented Jul 3, 2013

Same as mo.avalon_uploader = "Adam"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.