Sha256: 16cd4906bd086647ce3532ae3667996b5d0e22ec8a2a51e2b0e72b58a61c494f

Contents?: true

Size: 1.54 KB

Versions: 5

Compression:

Stored size: 1.54 KB

Contents

{:id=>"pub_DLbq474SeqKHuMqWg7ujUXE8DmkNlWx6", :object=>"publication", :created_at=>2024-07-23 12:33:22.881 UTC, :customer_id=>"cust_6vgE6l6SU0QJVa8O3UrVxN15", :tracking_id=>"0sHcrsmxdc", :metadata=>{}, :channel=>"API", :source_id=>nil, :result=>"SUCCESS", :customer=>{:name=>"John Doe", :address=>nil, :id=>"cust_6vgE6l6SU0QJVa8O3UrVxN15", :source_id=>"0sHcrsmxdc", :summary=>nil, :loyalty=>nil, :referrals=>nil, :object=>"customer"}, :vouchers_id=>["v_5AW6vEi03pQfsad0j6MiFb8F2ow4WE7v"], :voucher=>{:id=>"v_5AW6vEi03pQfsad0j6MiFb8F2ow4WE7v", :code=>"1ENFg5wA", :campaign_id=>"camp_y8zO25k2W1AWPagCSLEk1DJA", :category=>nil, :category_id=>nil, :categories=>[], :type=>"DISCOUNT_VOUCHER", :discount=>{:type=>"AMOUNT", :amount_off=>1000.0}, :gift=>nil, :loyalty_card=>nil, :start_date=>nil, :expiration_date=>nil, :active=>true, :additional_info=>nil, :metadata=>{}, :assets=>{:qr=>{:id=>"58b6bf71-d962-4484-8094-c03114088db2", :url=>"https://dl.voucherify.io/api/v1/assets/qr/58b6bf71-d962-4484-8094-c03114088db2"}, :barcode=>{:id=>"af633eac-9639-4f8c-b0a3-c3a40bf896b3", :url=>"https://dl.voucherify.io/api/v1/assets/barcode/af633eac-9639-4f8c-b0a3-c3a40bf896b3"}}, :is_referral_code=>false, :created_at=>2024-07-23 12:33:21.986 UTC, :updated_at=>2024-07-23 12:33:22.887 UTC, :holder_id=>"cust_6vgE6l6SU0QJVa8O3UrVxN15", :object=>"voucher", :publish=>{:object=>"list", :count=>1, :url=>"/v1/vouchers/1ENFg5wA/publications?page=1&limit=10"}, :redemption=>{:quantity=>nil, :redeemed_quantity=>0, :object=>"list", :url=>"/v1/vouchers/1ENFg5wA/redemptions?page=1&limit=10"}}}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
voucherify-8.0.2 __tests__/spec/snapshots/publications/created_publication.snap
voucherify-8.0.1 __tests__/spec/snapshots/publications/created_publication.snap
voucherify-8.0.0 __tests__/spec/snapshots/publications/created_publication.snap
voucherify-7.0.0 __tests__/spec/snapshots/publications/created_publication.snap
voucherify-6.0.0 __tests__/spec/snapshots/publications/created_publication.snap