Current section

Files

Jump to
yotsuba lib thread.ex
Raw

lib/thread.ex

defmodule Yotsuba.Thread do
@moduledoc """
Module to interface with the thread endpoint.
"""
alias Yotsuba.Client
@doc """
Returns the thread with the given `thread_number` in the given `board`.
"""
def get(board, thread_number) do
Client.get("#{board}/thread/#{thread_number}.json")
end
end