code_corps v0.0.1 CodeCorps.StripeTesting.Helpers View Source

Used to load JSON fitures which simulate Stripe API responses into stripity_stripe structs

Link to this section Summary

Functions

Load a stripe response fixture through stripity_stripe, into a stripity_stripe struct

Link to this section Functions

Link to this function load_fixture(id) View Source
load_fixture(String.t()) :: struct()

Load a stripe response fixture through stripity_stripe, into a stripity_stripe struct

Link to this function load_raw_fixture(id) View Source
load_raw_fixture(String.t()) :: map()