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

- old
+ new

@@ -3,12 +3,12 @@ # module NPR module Entity class Crop < Base attr_accessor :type, :src, :width, :height - + #--------------- - + def initialize(json) @type = json["type"] @src = json["src"] @width = json["width"].to_i @height = json["height"].to_i