Class: RMeetup::Fetcher::Comments

Inherits:
Base
  • Object
show all
Defined in:
lib/rmeetup/fetcher/comments.rb

Instance Method Summary collapse

Methods inherited from Base

#fetch

Constructor Details

#initializeComments

Returns a new instance of Comments.



4
5
6
# File 'lib/rmeetup/fetcher/comments.rb', line 4

def initialize
  @type = :comments
end

Instance Method Details

#format_result(result) ⇒ Object

Turn the result hash into a Comment Class



9
10
11
# File 'lib/rmeetup/fetcher/comments.rb', line 9

def format_result(result)
  RMeetup::Type::Comment.new(result)
end