     end
   end
 
+
+  ## Private functions
+
   defp parse_snapshot_response(%HTTPotion.Response{status_code: 200} = response) do
     case Util.is_jpeg(response.body) do
       true -> {:ok, response.body}


  alias EvercamMedia.HTTPClient
  alias EvercamMedia.Snapshot.Util

  @doc """
  Connect to the camera and get the snapshot

  end

  defp parse_snapshot_response(error) do
    {:error, error}
  end
end
