class Endpointer::PerformerFactory

Constants

PERFORMERS

Public Class Methods

create(method) click to toggle source
# File lib/endpointer/performer_factory.rb, line 15
def self.create(method)
  PERFORMERS.fetch(method) {
    raise Endpointer::Errors::PerformerNotFoundError.new 'The method you selected has no performer to execute it. Make sure you only use supported methods'
  }.new
end