flickrex v0.6.0 Flickrex.Operation.Rest View Source

Holds data necessary for an operation on the Flickr REST service.

The :format must be one of :json or :rest, the latter returning XML. The default is :json.

The parser must be a 1- or 2-arity function, accepting an :ok or :error response, and optionally a Flickrex.Config struct.

Link to this section Summary

Link to this section Types

Link to this type config() View Source
config() :: Flickrex.Config.t()
Link to this type format() View Source
format() :: :json | :rest
Link to this type http_headers() View Source
http_headers() :: map()
Link to this type http_method() View Source
http_method() :: atom()
Link to this type params() View Source
params() :: map()
Link to this type service() View Source
service() :: atom()
Link to this type t() View Source
t() :: %Flickrex.Operation.Rest{default_params: params(), format: format(), http_headers: http_headers(), http_method: http_method(), method: method(), params: params(), parser: parser(), path: path(), service: service()}