Flickrex.Flickr.Test (flickrex v0.8.1) View Source

Link to this section Summary

Functions

A testing method which echo's all parameters back in the response.

A testing method which checks if the caller is logged in then returns their username.

Null test

Link to this section Types

Link to this section Functions

Specs

echo(opts()) :: operation()

A testing method which echo's all parameters back in the response.

This method does not require authentication.

Example response

%{
  "foo" => %{"_content" => "bar"},
  "method" => %{"_content" => "echo"},
  "stat" => "ok"
}

Specs

login(opts()) :: operation()

A testing method which checks if the caller is logged in then returns their username.

This method requires authentication with "read" permission.

Example response

%{
  "stat" => "ok",
  "user" => %{"id" => "12037949754@N01", "username" => %{"_content" => "Bees"}}
}

Specs

null(opts()) :: operation()

Null test

This method requires authentication with "read" permission.