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
Specs
arg() :: String.Chars.t()
Specs
operation() :: Flickrex.Operation.Rest.t()
Specs
opts() :: Flickrex.Rest.args()
Link to this section Functions
Specs
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
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 test
This method requires authentication with "read" permission.