Sha256: ec751c8c5a67a86fcfc08deb525ed307ff046063cf85be5f6cc587fa35766afd

Contents?: true

Size: 324 Bytes

Versions: 5

Compression:

Stored size: 324 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

5 entries across 5 versions & 1 rubygems

Version Path
npr-3.0.0 lib/npr/entity/enlargement.rb
npr-2.0.2 lib/npr/entity/enlargement.rb
npr-2.0.1 lib/npr/entity/enlargement.rb
npr-2.0.0 lib/npr/entity/enlargement.rb
npr-1.2.0 lib/npr/entity/enlargement.rb