Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 1.78 KB

README.md

File metadata and controls

46 lines (30 loc) · 1.78 KB

🏠 Main Repository 🏠

Disclaimer

If you want to continue development with Ruby, we highly recommend reading their documentation.

Prerequisites

To run the following code example, you'll need to have Ruby installed:

Installation

Once you have Ruby installed, continue with the following steps:

  1. Open the Command Prompt/Terminal.
  2. Create your project directory using the mkdir ruby_example command.
  3. Navigate to your project folder using the cd ruby_example command.
  4. Execute the following command to download our proxy setup example file:

curl https://raw.githubusercontent.com/Smartproxy/Smartproxy/master/ruby/ruby.rb > ruby.rb

curl smartproxy ruby code sample

  1. You should see a new file named ruby.rb in your project folder. Open it using an editor of your choice.

  2. To run this example, set your username, password, and endpoint information you'd like to use and enter them in the following sections of the code:

smartproxy ruby proxy username password authentication

Usage

To execute the Ruby example, simply run ruby ruby.rb in your Terminal tool. You should see the IP details from the target website in the console window if everything was set up correctly:

smartproxy successful ruby connection example

Need help?

Email - sales@smartproxy.com

Live chat 24/7

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy