Class: Line::Bot::HTTPClient

Inherits:
Object
  • Object
show all
Defined in:
lib/line_liff.rb

Instance Method Summary collapse

Instance Method Details

#put(url, payload, header = {}) ⇒ Object



8
9
10
11
# File 'lib/line_liff.rb', line 8

def put(url, payload, header = {})
  uri = URI(url)
  http(uri).put(uri.request_uri, payload, header)
end