Sha256: d482b05bc0db985246fd622f905f7cf64f7c2c1dd10d9582bcbc7d3596beec04

Contents?: true

Size: 617 Bytes

Versions: 8

Compression:

Stored size: 617 Bytes

Contents

# frozen_string_literal: true

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

8 entries across 8 versions & 1 rubygems

Version Path
geminabox-2.1.0 lib/geminabox/http_adapter.rb
geminabox-2.1.0.rc.1 lib/geminabox/http_adapter.rb
geminabox-2.0.0 lib/geminabox/http_adapter.rb
geminabox-2.0.0.rc.1 lib/geminabox/http_adapter.rb
geminabox-1.5.0 lib/geminabox/http_adapter.rb
geminabox-1.5.0.rc.1 lib/geminabox/http_adapter.rb
geminabox-1.4.3 lib/geminabox/http_adapter.rb
geminabox-1.4.3.rc lib/geminabox/http_adapter.rb