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.



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

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

Instance Attribute Details

#authorObject

Returns the value of attribute author.



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

def author
  @author
end

#commentsObject

Returns the value of attribute comments.



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

def comments
  @comments
end

#descriptionObject

Returns the value of attribute description.



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

def description
  @description
end

Returns the value of attribute link.



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

def link
  @link
end

#titleObject

Returns the value of attribute title.



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

def title
  @title
end