Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information. Fixed Ruby V1 Example Sep 5, 2018
item-management.rb Fixed Ruby V1 Example Sep 5, 2018
payments-report.rb Fixed Ruby V1 Example Sep 5, 2018

Ruby V1 example

The samples in this directory demonstrate basic use of Square Connect API v1 in Ruby. Before you run any of these samples, be sure to complete the steps described below.

How to run

  • First, install unirest by opening your terminal and typing:
gem install unirest
gem install sinatra
  • Fill in the required variables (REPLACE_ME) in all of the files
  • Then run each file individually:
ruby item-management.rb
ruby payments-report.rb
You can’t perform that action at this time.