← Back to Documentation

Ruby SDK

Official TurraTech library for Ruby applications.

Installation

gem install turratech

Or add to your Gemfile:

gem 'turratech'

Quick Start

require 'turratech' TurraTech.api_key = 'sk_live_your_secret_key' # Create a payment payment = TurraTech::Payment.create( amount: 2500, currency: 'usd', payment_method: 'pm_card_visa', description: 'Order #1234' )

Requirements

Ruby 2.7 or higher is required. Works with Ruby on Rails 5.2 and above.