Sha256: 1052f93f084c1634d6d582c826e91b503bb4be5e3c8f0a9670923368f500535d
Contents?: true
Size: 373 Bytes
Versions: 1
Compression:
Stored size: 373 Bytes
Contents
## # NPR::Entity::Crop # 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 end end # Crop end # Entity end # NPR
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
npr-1.1.0 | lib/npr/entity/crop.rb |