Sha256: aa583d6f35aa7078fa085e5cdaaf48a9ef5628b31711da4c7f20042a12567e3a
Contents?: true
Size: 444 Bytes
Versions: 1
Compression:
Stored size: 444 Bytes
Contents
module CalendariumRomanum module Remote module Drivers def self.get(api_version, driver_id) if api_version == :v0 if driver_id == :net_http return NetHttpDriver.new else raise ArgumentError.new("Unsupported driver #{driver_id}") end else raise ArgumentError.new("Unsupported API version #{api_version.inspect}") end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
calendarium-romanum-remote-0.1.0 | lib/calendarium-romanum/remote/drivers.rb |