Class: Automatic::FeedMaker::FeedObject

Inherits:
Object
  • Object
show all
Defined in:
lib/automatic/feed_maker.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFeedObject

Returns a new instance of FeedObject.



17
18
19
20
21
22
23
# File 'lib/automatic/feed_maker.rb', line 17

def initialize
  @link        = 'http://dummy'
  @title       = 'dummy'
  @description = ''
  @author      = ''
  @comments    = ''
end

Instance Attribute Details

#authorObject

Returns the value of attribute author.



16
17
18
# File 'lib/automatic/feed_maker.rb', line 16

def author
  @author
end

#commentsObject

Returns the value of attribute comments.



16
17
18
# File 'lib/automatic/feed_maker.rb', line 16

def comments
  @comments
end

#descriptionObject

Returns the value of attribute description.



16
17
18
# File 'lib/automatic/feed_maker.rb', line 16

def description
  @description
end

Returns the value of attribute link.



16
17
18
# File 'lib/automatic/feed_maker.rb', line 16

def link
  @link
end

#titleObject

Returns the value of attribute title.



16
17
18
# File 'lib/automatic/feed_maker.rb', line 16

def title
  @title
end