Class: RMeetup::Poster::EventComment

Inherits:
Base
  • Object
show all
Defined in:
lib/rmeetup/poster/event_comment.rb

Instance Method Summary collapse

Methods inherited from Base

#post

Constructor Details

#initializeEventComment

Returns a new instance of EventComment.



4
5
6
# File 'lib/rmeetup/poster/event_comment.rb', line 4

def initialize
  @type = :event_comment
end

Instance Method Details

#format_result(result) ⇒ Object

Turn the result hash into a Comment Class



9
10
11
# File 'lib/rmeetup/poster/event_comment.rb', line 9

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