Packages

An Elixir wrapper for the Stories API, by Clockk.com Inc.

Current section

Files

Jump to
stories lib attribute.ex
Raw

lib/attribute.ex

defmodule Stories.Attribute do
use Stories.Resource, only: [:get, :list, :create, :delete]
defstruct [
:id,
:name,
:slug,
:data_type
]
def resource, do: "attributes"
end