Class: RMeetup::Fetcher::Rsvps

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

Instance Method Summary collapse

Methods inherited from Base

#fetch

Constructor Details

#initializeRsvps

Returns a new instance of Rsvps.



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

def initialize
  @type = :rsvps
end

Instance Method Details

#format_result(result) ⇒ Object

Turn the result hash into a Rsvp Class



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

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