lib/line_notify/client.rb in line_notify-1.0.0 vs lib/line_notify/client.rb in line_notify-1.0.1
- old
+ new
@@ -7,10 +7,10 @@
def initialize(access_token)
@access_token = (access_token || ENV['LINE_ACCESS_TOKEN'])
end
- def send(options)
+ def ping(options)
request = create_request(options)
Net::HTTP.start(URI.hostname, URI.port, use_ssl: URI.scheme == "https") do |req|
req.request(request)
end
end