class RMeetup::Fetcher::Comments
Public Class Methods
new()
click to toggle source
# File lib/rmeetup/fetcher/comments.rb, line 4 def initialize @type = :comments end
Public Instance Methods
format_result(result)
click to toggle source
Turn the result hash into a Comment Class
# File lib/rmeetup/fetcher/comments.rb, line 9 def format_result(result) RMeetup::Type::Comment.new(result) end