Resty v0.12.0 API Reference

Modules

This module makes it easy for Resty’s modules to get default configuration values

Resty supports associations between resources. The best way to learn how to use an association is to go check its doc

Stub used when fetching an association resulted in an error

Stub used when an association has not been loaded

Auth modules are used by Resty in order to authenticates request made to the web API

Authenticates by using basic auth

Authenticates by using a bearer token

This is the default Resty.Auth implementation and it actually does not perform any kind of authentication

Connection are used by Resty in order to query the web API

Default Resty.Connection implementation. It will use HTTPoison in order to query the web API

This module is the one that will issue requests to the rest API and map responses to resource structs

This module provides a few functions to work with resource structs. Resource structs are created thanks to the Resty.Resource.Base module

This module is used to create resource struct that you’ll then be able to use with Resty.Repo and Resty.Resource

This module is used by Resty.Repo in order to serialize and deserialize data sent and received from the web API

This is the default Resty.Serializer implementation

Exceptions