Sha256: 6e13650aff40ee22215cfc76c835b00ff9d211383f8dd225f015623e87dd1c58
Contents?: true
Size: 595 Bytes
Versions: 3
Compression:
Stored size: 595 Bytes
Contents
require 'voucherify' voucherify = Voucherify::Client.new({ :applicationId => 'c70a6f00-cf91-4756-9df5-47628850002b', :clientSecretKey => '3266b9f8-e246-4f79-bdf0-833929b1380c' }) puts voucherify.vouchers.validate('91Ft4U', { tracking_id: 'john@lemon.com', order: { amount: 1000 } }) query = {limit: 10, skip: 20, category: 'API Test'} puts voucherify.vouchers.list(query) puts voucherify.vouchers.enable '91Ft4U' puts voucherify.vouchers.disable '91Ft4U'
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
voucherify-1.2.0 | examples/vouchers.rb |
voucherify-1.1.0 | examples/vouchers.rb |
voucherify-1.0.0 | examples/vouchers.rb |