lib/npr/entity/enlargement.rb in npr-1.1.0 vs lib/npr/entity/enlargement.rb in npr-1.2.0
- old
+ new
@@ -4,12 +4,12 @@
module NPR
module Entity
class Enlargement < Base
attr_accessor :src
shallow_attribute "caption"
-
+
#---------------
-
+
def initialize(json)
@src = json["src"]
extract_shallow_attributes(json)
end
end # Enlargement