Sha256: f284b35c9e508f7e20c8fce90c1d6ebe9e6f92ac503a0c7aee8fc14135f6be9d
Contents?: true
Size: 413 Bytes
Versions: 1
Compression:
Stored size: 413 Bytes
Contents
## # NPR::Entity::Namew # # Byline name # module NPR module Entity class Name < Base attr_accessor :personId, :content #------------------- def initialize(json) @personId = json["personId"].to_i @content = json["$text"] end #------------------- def to_s @content.to_s end end # Name end # Entity end # NPR
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
npr-1.1.0 | lib/npr/entity/name.rb |