 defmodule Hound.Helpers.Orientation do
-  @moduledoc "Provides function related to orientation."
+  @moduledoc "Provides functions related to orientation."
 
   import Hound.InternalHelpers
   import Hound.RequestUtils

  """
  @spec orientation() :: :landscape | :portrait
  def orientation do
    {:ok, driver_info} = Hound.driver_info
    delegate_to_module driver_info[:driver_type], "Orientation", :orientation
  end



  """
  @spec set_orientation(:landscape | :portrait) :: :ok
  def set_orientation(orientation) do
    session_id = Hound.current_session_id
    make_req(:get, "session/#{session_id}/orientation", %{orientation: orientation})
  end
end
