Pexels.Client.Orientation (Pexels v0.1.0) View Source
Desired photo orientation.
The current supported orientations are: landscape
, portrait
or square
.
Examples
iex> Pexels.Client.Orientation.landscape()
"landscape"
Link to this section Summary
Functions
Callback implementation for Construct.Type.cast/1
.
landscape orientation
portrait orientation
square orientation
Link to this section Functions
Callback implementation for Construct.Type.cast/1
.
landscape orientation
Example
iex> Pexels.Client.Orientation.landscape()
"landscape"
portrait orientation
Example
iex> Pexels.Client.Orientation.portrait()
"portrait"
square orientation
Example
iex> Pexels.Client.Orientation.square()
"square"