Sha256: 8711a3aa0b4d17899f7ab4d38ae6bd93a1bbde4e29527962227a463548f34730

Contents?: true

Size: 343 Bytes

Versions: 3

Compression:

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

3 entries across 3 versions & 1 rubygems

Version Path
npr-0.1.2 lib/npr/entity/enlargement.rb
npr-0.1.1 lib/npr/entity/enlargement.rb
npr-0.1.0 lib/npr/entity/enlargement.rb