Sha256: 28bfc8dd1587bf968a509bcec17a84596b529dcb074bb44a957845d29f855cd0
Contents?: true
Size: 417 Bytes
Versions: 1
Compression:
Stored size: 417 Bytes
Contents
require 'csv' module ErrandBoy class CSV class << self def build(request) provider = request.provider.capitalize action = request.action.capitalize const_get("#{provider}#{action}").new(request) rescue raise NoActionError, "No such provider or action `#{provider}`, `#{action}`." end def dir File.expand_path 'index' end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
errand-boy-0.1.0 | lib/errand_boy/csv.rb |