Sha256: 8e1cf51bff37c86d8ca31b6e396ce00f8304250df96566318766b3e8c6092ee2
Contents?: true
Size: 586 Bytes
Versions: 26
Compression:
Stored size: 586 Bytes
Contents
require_relative 'http_adapter_config_error' module Geminabox class HttpAdapter def get_content(*args) raise HttpAdapterConfigError.new(:get_content, 'the response body') end def get(*args) raise HttpAdapterConfigError.new(:get, 'a response object') end def post(*args) raise HttpAdapterConfigError.new(:post, 'a response object') end def set_auth(*args) raise HttpAdapterConfigError.new(:set_auth, 'true') end end end Dir[File.expand_path('http_adapter/*.rb', File.dirname(__FILE__))].each do |file| require file end
Version data entries
26 entries across 26 versions & 2 rubygems