Resty v0.4.0 API Reference

Modules

This module does not do much. It is used in order to retrieve values from the config

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 defines the struct that Resty.Repo will send to the configured Resty.Connection implementation whenever it will want to query the web API

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

Serialize and deserialize resources structs from and to json. This is the default Resty.Serializer implementation

Exceptions