class Papercall::Fetcher

Superclass for fetchers. A fetcher fetches submissions of different categories and stores them in instance variables.

Attributes

accepted[R]
declined[R]
rejected[R]
submitted[R]
waitlist[R]

Public Instance Methods

all() click to toggle source
# File lib/papercall/fetcher.rb, line 7
def all
  {
    submitted: @submitted,
    accepted: @accepted,
    rejected: @rejected,
    waitlist: @waitlist,
    declined: @declined
  }
end
analysis() click to toggle source
# File lib/papercall/fetcher.rb, line 17
def analysis
  all = @submitted
  all += @accepted
  all += @rejected
  all += @waitlist
  all += @declined
  all
end