Sha256: ecfc7cfb2203ad4fd9730f85b8111ab2557bbe4d87e1cdcc6fec88bff0fd01ad
Contents?: true
Size: 380 Bytes
Versions: 3
Compression:
Stored size: 380 Bytes
Contents
## # NPR::Entity::Provider # module NPR module Entity class Provider < Base attr_accessor :content, :url #---------------- def initialize(json) @content = json["$text"] @url = json["url"] end #---------------- def to_s @content end end # Provider end # Entity end # NPR
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
npr-0.1.2 | lib/npr/entity/provider.rb |
npr-0.1.1 | lib/npr/entity/provider.rb |
npr-0.1.0 | lib/npr/entity/provider.rb |