Sha256: 121d769dc70ef40c94285a3f81800867ec72826eb9204869b15b5d3daab22bcb
Contents?: true
Size: 658 Bytes
Versions: 10
Compression:
Stored size: 658 Bytes
Contents
# frozen_string_literal: true require File.expand_path("../../test_helper", __FILE__) module Stripe class IssuerFraudRecordTest < Test::Unit::TestCase should "be listable" do issfrs = Stripe::IssuerFraudRecord.list assert_requested :get, "#{Stripe.api_base}/v1/issuer_fraud_records" assert issfrs.data.is_a?(Array) assert issfrs.data[0].is_a?(Stripe::IssuerFraudRecord) end should "be retrievable" do issfr = Stripe::IssuerFraudRecord.retrieve("issfr_123") assert_requested :get, "#{Stripe.api_base}/v1/issuer_fraud_records/issfr_123" assert issfr.is_a?(Stripe::IssuerFraudRecord) end end end
Version data entries
10 entries across 10 versions & 1 rubygems