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

- old
+ new

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