Module: Gem::Release::Helper::Http

Included in:
Context::Github
Defined in:
lib/gem/release/helper/http.rb

Defined Under Namespace

Classes: Client

Instance Method Summary collapse

Instance Method Details

#post(url, body = nil, headers = {}) ⇒ Object


33
34
35
# File 'lib/gem/release/helper/http.rb', line 33

def post(url, body = nil, headers = {})
  Client.new(:post, url, body, headers).request
end