Using xero-ruby-oauth2-app with xero.com

Ruby integration

Install
gem install xero-ruby-oauth2-app
Quick start
require 'xero-ruby-oauth2-app'

client = XeroRubyOauth2App::Client.new(api_key: "YOUR_ACCESS_TOKEN")
Retrieves files
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.xero.com/files.xro/1.0/Files
Retrieves inbox folder
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.xero.com/files.xro/1.0/Inbox
Retrieves folders
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.xero.com/files.xro/1.0/Folders
SDK on GitHub 📄 API Docs
SDK
xero-ruby-oauth2-app
Ruby
API
xero.com
xero.com:xero_files
At a glance
Language Ruby
Endpoints16
Base URLhttps://api.xero.com/files.xro/1.0