View Source Stellar.Horizon.Resource behaviour (Elixir Stellar SDK v0.22.0)

Specifies contracts to build Horizon resources.

Summary

Types

@type attrs() :: map()
@type options() :: Keyword.t()
@type resource() :: struct()

Callbacks

@callback new(attrs(), options()) :: resource()