class Esi::Calls

Public Class Methods

list() click to toggle source

Generate a list with all available calls

@return [Array<Symbol>] list of underscored call names

# File lib/esi/calls.rb, line 28
def list
  @list ||= constants.select { |c| Esi::Calls.const_get(c).try(:scope) }
                     .map { |c| c.to_s.underscore.to_sym }
end