Sha256: 107e668106469abe116e0e142f444dfafb2079f2c4618023088a4322fd1da218
Contents?: true
Size: 408 Bytes
Versions: 1
Compression:
Stored size: 408 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 end end # Name end # Entity end # NPR
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
npr-0.1.2 | lib/npr/entity/name.rb |