lib/npr/entity/transcript.rb in npr-2.0.2 vs lib/npr/entity/transcript.rb in npr-3.0.0
- old
+ new
@@ -2,10 +2,10 @@
# NPR::Entity::Transcript
#
module NPR
module Entity
class Transcript < Base
- has_one "link", :class_name => NPR::Entity::Link
+ has_many "links", :key => 'link', :class_name => NPR::Entity::Link
#-------------------
def initialize(json)
create_relations(json)