Class: Geminabox::HttpAdapter
- Inherits:
-
Object
- Object
- Geminabox::HttpAdapter
show all
- Defined in:
- lib/geminabox/http_adapter.rb
Instance Method Summary
collapse
Instance Method Details
#get(*args) ⇒ Object
12
13
14
|
# File 'lib/geminabox/http_adapter.rb', line 12
def get(*args)
raise HttpAdapterConfigError.new(:get, 'a response object')
end
|
#get_content(*args) ⇒ Object
8
9
10
|
# File 'lib/geminabox/http_adapter.rb', line 8
def get_content(*args)
raise HttpAdapterConfigError.new(:get_content, 'the response body')
end
|
#post(*args) ⇒ Object
16
17
18
|
# File 'lib/geminabox/http_adapter.rb', line 16
def post(*args)
raise HttpAdapterConfigError.new(:post, 'a response object')
end
|
#set_auth(*args) ⇒ Object
20
21
22
|
# File 'lib/geminabox/http_adapter.rb', line 20
def set_auth(*args)
raise HttpAdapterConfigError.new(:set_auth, 'true')
end
|