18 lines
268 B
Elixir
18 lines
268 B
Elixir
|
defmodule Hunter.Tag do
|
||
|
@moduledoc """
|
||
|
Tag entity
|
||
|
|
||
|
## Fields
|
||
|
|
||
|
* `name` - The hashtag, not including the preceding `#`
|
||
|
* `url` - The URL of the hashtag
|
||
|
|
||
|
"""
|
||
|
|
||
|
@type t :: %__MODULE__{
|
||
|
name: String.t,
|
||
|
url: URI.t
|
||
|
}
|
||
|
|
||
|
defstruct [:name, :url]
|
||
|
end
|