Sha256: e48973d955472cfb9c2497db283fd8b2dfc6f0d8cafccb11fce2ae62b3c49b0a
Contents?: true
Size: 238 Bytes
Versions: 1
Compression:
Stored size: 238 Bytes
Contents
module ErrandBoy module Gateway def self.build(request) provider = request.provider.capitalize const_get(provider).new(request) rescue raise NoProviderError, "No such provider `#{provider}`." end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
errand-boy-0.1.0 | lib/errand_boy/gateway.rb |