Class: HttpConnect::HttpPut

Inherits:
HttpRequest show all
Defined in:
lib/http_connect/http_put.rb

Overview

HttpPut class

Instance Attribute Summary

Attributes inherited from HttpRequest

#accept, #content, #content_type, #http_method, #path

Instance Method Summary collapse

Constructor Details

#initialize(path, content_type = 'application/json', accept = 'application/json', content = {}) ⇒ HttpPut

initialize()



7
8
9
10
# File 'lib/http_connect/http_put.rb', line 7

def initialize(path, content_type = 'application/json',
               accept = 'application/json', content = {})
  super(path, 'PUT', content_type, accept, content)
end