postio_
All integrations/Server SDKs

Ruby

Active

Sync, stdlib net/http (zero runtime gems), Data.define value classes, typed error hierarchy. Ruby 3.2+.

SET UP

Install

gem install postio
EXAMPLE

30-second example

ruby
require 'postio'

postio = Postio::Client.new(api_key: 'pk_…')
res = postio.address.search(q: '57 wimpole street')
puts res.results.first.suggestion
# → 57 Wimpole Street, London, W1G 8YW
Ask Postio