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()
Link to this function

resource_subscription(attrs \\ %{})

View Source
@spec resource_subscription(map()) :: Gumroad.ResourceSubscription.t()
@spec sale(map()) :: Gumroad.Sale.t()
Link to this function

subscriber(attrs \\ %{})

View Source
@spec subscriber(map()) :: Gumroad.Subscriber.t()