Sha256: acc71527593e0c304fc4b05ac0b1ad7dfb0c981e82c59e42dd5da13a93eeecbb
Contents?: true
Size: 586 Bytes
Versions: 15
Compression:
Stored size: 586 Bytes
Contents
require "uri" require "restclient" require "time" require "bamboo-client/version" require "bamboo-client/http" require "bamboo-client/abstract" require "bamboo-client/rest" require "bamboo-client/remote" require "pp" if $DEBUG module Bamboo module Client class Error < StandardError; end def self.for(sym, url) case sym.to_sym when :rest Rest.new Http::Json.new(url) when :remote, :legacy Remote.new Http::Xml.new(url) else raise ArgumentError, "unknown client #{sym.inspect}" end end end # Client end # Bamboo
Version data entries
15 entries across 15 versions & 1 rubygems