app/serializers/cadenero/user_serializer.rb in cadenero-0.0.2.a3 vs app/serializers/cadenero/user_serializer.rb in cadenero-0.0.2.b1
- old
+ new
@@ -1,5 +1,6 @@
module Cadenero
+ # JSON Serializaer for the Cadenero::User Model
class UserSerializer < ActiveModel::Serializer
embed :ids
attributes :id, :email, :auth_token
has_many :accounts
has_many :memberships