View Source Gumroad.Testing.Fixtures (gumroad_elixir v0.1.2)
Provides fixtures that can be used with a mock Gumroad API client implementation, to simulate a response from Gumroad.
See Gumroad.Client
for more info about the Mock
client.
Summary
Functions
@spec product(map()) :: Gumroad.Product.t()
@spec resource_subscription(map()) :: Gumroad.ResourceSubscription.t()
@spec sale(map()) :: Gumroad.Sale.t()
@spec subscriber(map()) :: Gumroad.Subscriber.t()