File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ Here is a quick example:
77` GET /your/api/{param}/call `
88
99``` ruby
10- require ruby_http_client
10+ require ' ruby_http_client'
1111global_headers = {' Authorization' => ' Basic XXXXXXX' }
1212client = SendGrid ::Client (host: ' base_url' , request_headers: global_headers)
1313client.your.api._ (param).call.get
@@ -19,7 +19,7 @@ puts response.response_headers
1919` POST /your/api/{param}/call ` with headers, query parameters and a request body with versioning.
2020
2121``` ruby
22- import ruby_http_client
22+ import ' ruby_http_client'
2323global_headers = {' Authorization' => ' Basic XXXXXXX' }
2424client = SendGrid ::Client (host: ' base_url' , request_headers: global_headers)
2525query_params = { ' hello' => 0 , ' world' => 1 }
@@ -46,7 +46,7 @@ First, update your .env with your [SENDGRID_API_KEY](https://app.sendgrid.com/se
4646Following is an abridged example, here is the [ full working code] ( https://github.com/sendgrid/ruby-http-client/tree/master/examples ) .
4747
4848``` ruby
49- require ruby_http_client
49+ require ' ruby_http_client'
5050
5151SendGrid ::Config .new
5252headers = JSON .parse('
You can’t perform that action at this time.
0 commit comments