lib/npr/entity/author.rb in npr-1.1.0 vs lib/npr/entity/author.rb in npr-1.2.0

- old
+ new

@@ -5,16 +5,16 @@ module Entity class Author < Base attr_accessor :id, :num shallow_attribute "title" has_one "link", :class_name => NPR::Entity::Link - + #----------------- - + def initialize(json) @id = json["id"].to_i @num = json["num"].to_i - + create_relations(json) extract_shallow_attributes(json) end end # Author end # Entity