Module: Kippt::Connection
- Included in:
- Client
- Defined in:
- lib/kippt/connection.rb
Defined Under Namespace
Classes: ParseMultiJson
Constant Summary collapse
- HOST =
"kippt.com"
Instance Method Summary collapse
- #delete(url, options = {}) ⇒ Object
- #get(url, options = {}) ⇒ Object
- #post(url, options = {}) ⇒ Object
- #put(url, options = {}) ⇒ Object
Instance Method Details
#delete(url, options = {}) ⇒ Object
29 30 31 |
# File 'lib/kippt/connection.rb', line 29 def delete(url, = {}) request(:delete, url, ) end |
#get(url, options = {}) ⇒ Object
17 18 19 |
# File 'lib/kippt/connection.rb', line 17 def get(url, = {}) request(:get, url, ) end |
#post(url, options = {}) ⇒ Object
21 22 23 |
# File 'lib/kippt/connection.rb', line 21 def post(url, = {}) request(:post, url, ) end |
#put(url, options = {}) ⇒ Object
25 26 27 |
# File 'lib/kippt/connection.rb', line 25 def put(url, = {}) request(:put, url, ) end |