Skip to content

Instantly share code, notes, and snippets.

@bcardarella
Created August 4, 2015 01:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bcardarella/8dc3932bbdd29b68c939 to your computer and use it in GitHub Desktop.
Save bcardarella/8dc3932bbdd29b68c939 to your computer and use it in GitHub Desktop.
defmodule SogApi.AccountSerializer do
use JaSerializer
serialize "account" do
attributes [
:first_name,
:last_name,
:email,
:date_of_birth,
:gender,
:gender_description,
:legal_state
]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment