Skip to content

Instantly share code, notes, and snippets.

@mahmoudimus
Created July 6, 2012 15:16
Show Gist options
  • Save mahmoudimus/3060812 to your computer and use it in GitHub Desktop.
Save mahmoudimus/3060812 to your computer and use it in GitHub Desktop.
Meta querying example for querying by payment sids
require 'balanced'
Balanced.configure "#{API_KEY}"
Balanced::Transaction.paginate(:'meta.pound.payment_sid' => 'PY.....').each do |transaction|
p transaction
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment