Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
R

recurly-client-ruby

> 后端框架
Open source

A Ruby API wrapper for Recurly

183 stars0 likes2 views
WebsiteGitHub

About

A Ruby API wrapper for Recurly

Recurly

This repository houses the official ruby client for Recurly's V3 API.

Note: If you were looking for the V2 client, see the v2 branch.

Reference Documentation

Getting Started Guide and reference documentation can be found on Github Pages.

Custom HTTP Adapter

The client ships with a default Net::HTTP-backed transport, but you can inject your own HTTP layer (for observability, proxy/TLS control, or transport mocking) by passing an adapter that responds to #call:

ruby
client = Recurly::Client.new(api_key: API_KEY, http_adapter: MyAdapter.new)

An adapter must implement:

ruby
# @return [Recurly::HTTP::AdapterResponse]
# @raise  [Recurly::Errors::TransportError] on transport-level failure only
def call(method, url, headers, body, open_timeout: nil, read_timeout: nil)
end
  • method is a Recurly::HTTP::HttpMethod string ("GET", "POST", ...).
  • url is an absolute URL (scheme + host + path + query).
  • headers is a plain Hash of app-level headers (the SDK owns Authorization, Idempotency-Key, Content-Type, etc.).
  • body is a serialized String or nil.
  • HTTP 4xx/5xx responses must be returned as an AdapterResponse, never raised. Only genuine transport failures raise Recurly::Errors::TransportError.

Contributing

Please see our Contributing Guide.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rubyrecurlyrubyruby-on-rails

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category后端框架
PricingOpen source

> Related tools

N
Node.js
基于 V8 的 JavaScript 运行时
D
Django
Python 高级 Web 框架
S
Spring Boot
Java 生态主流微服务框架