Sha256: d5eda56e80a830cce15b43b108fc7f8ee2ea0248e72cff453dc5eec631620dc8

Contents?: true

Size: 336 Bytes

Versions: 1

Compression:

Stored size: 336 Bytes

Contents

##
# NPR::Entity::Enlargement
#
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
  end # Entity
end # NPR

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
npr-1.1.0 lib/npr/entity/enlargement.rb