class Pluto::Model::Feed::Data

“raw” access via data “proxy” helper e.g. use feed.data.updated

feed.data.updated? etc.

Public Class Methods

new( feed ) click to toggle source
# File lib/pluto/models/feed.rb, line 107
def initialize( feed ) @feed = feed; end

Public Instance Methods

feed_url() click to toggle source
# File lib/pluto/models/feed.rb, line 111
def feed_url()    @feed.read_attribute( :feed_url );  end
feed_url?() click to toggle source
# File lib/pluto/models/feed.rb, line 114
def feed_url?()   feed_url.present?;  end
published() click to toggle source
# File lib/pluto/models/feed.rb, line 117
def published()   @feed.read_attribute(:published); end
published?() click to toggle source
# File lib/pluto/models/feed.rb, line 119
def published?()  published.present?;  end
title() click to toggle source
# File lib/pluto/models/feed.rb, line 110
def title()       @feed.read_attribute( :title );    end
title?() click to toggle source
# File lib/pluto/models/feed.rb, line 113
def title?()      title.present?;     end
updated() click to toggle source
# File lib/pluto/models/feed.rb, line 116
def updated()     @feed.read_attribute(:updated); end
updated?() click to toggle source
# File lib/pluto/models/feed.rb, line 118
def updated?()    updated.present?;    end
url() click to toggle source
# File lib/pluto/models/feed.rb, line 109
def url()         @feed.read_attribute( :url );      end
url?() click to toggle source
# File lib/pluto/models/feed.rb, line 112
def url?()        url.present?;       end