app/serializers/cadenero/account_serializer.rb in cadenero-0.0.2.a3 vs app/serializers/cadenero/account_serializer.rb in cadenero-0.0.2.b1
- old
+ new
@@ -1,5 +1,6 @@
module Cadenero
+ # JSON Serializaer for the Cadenero::V1::Account Model
class AccountSerializer < ActiveModel::Serializer
embed :ids
attributes :id, :name, :subdomain, :authentication_token
has_one :owner
has_many :users