lib/npr/entity/pull_quote.rb in npr-1.1.0 vs lib/npr/entity/pull_quote.rb in npr-1.2.0
- old
+ new
@@ -4,10 +4,10 @@
module NPR
module Entity
class PullQuote < Base
attr_accessor :id
shallow_attribute "text", "person", "date"
-
+
def initialize(json)
extract_shallow_attributes(json)
@id = json["id"].to_i
end
end # PullQuote