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

Version Path
geminabox-1.4.1 lib/geminabox/http_adapter.rb
geminabox-1.4.0 lib/geminabox/http_adapter.rb
geminabox-1.3.1 lib/geminabox/http_adapter.rb
geminabox-1.3.0 lib/geminabox/http_adapter.rb
geminabox-1.2.0 lib/geminabox/http_adapter.rb
geminabox-1.1.1 lib/geminabox/http_adapter.rb
geminabox-1.1.0 lib/geminabox/http_adapter.rb
geminabox-1.0.1 lib/geminabox/http_adapter.rb
geminabox-1.0.0 lib/geminabox/http_adapter.rb
geminabox-0.13.15 lib/geminabox/http_adapter.rb
geminabox-0.13.14 lib/geminabox/http_adapter.rb
geminabox-0.13.13 lib/geminabox/http_adapter.rb
geminabox-0.13.11 lib/geminabox/http_adapter.rb
geminabox-0.13.10 lib/geminabox/http_adapter.rb
geminabox-0.13.9 lib/geminabox/http_adapter.rb
geminabox-0.13.8 lib/geminabox/http_adapter.rb
geminabox-0.13.7 lib/geminabox/http_adapter.rb
geminabox-0.13.6 lib/geminabox/http_adapter.rb
geminabox-0.13.5 lib/geminabox/http_adapter.rb
geminabox-0.13.4 lib/geminabox/http_adapter.rb