lib/npr/entity/provider.rb in npr-1.1.0 vs lib/npr/entity/provider.rb in npr-1.2.0

- old
+ new

@@ -1,21 +1,21 @@ ## # NPR::Entity::Provider # module NPR module Entity - class Provider < Base + class Provider < Base attr_accessor :content, :url #---------------- - + def initialize(json) @content = json["$text"] @url = json["url"] end - + #---------------- - + def to_s @content.to_s end end # Provider end # Entity