Sha256: d9257683f22c2a6e98ddbdd5672b4d6a7fbae58039eeee8ea8664530d9047da6
Contents?: true
Size: 307 Bytes
Versions: 6
Compression:
Stored size: 307 Bytes
Contents
require 'saorin/adapters/clients' module Saorin class Client class << self def new(options = {}, &block) adapter = options.delete(:adapter) || :faraday adapter_class = Saorin::Adapters::Clients.guess adapter adapter_class.new options, &block end end end end
Version data entries
6 entries across 6 versions & 1 rubygems