Sha256: 555969ec475856d5a950ef1b4e5c9277817981121b95522120d9e2f49cb5fde4

Contents?: true

Size: 436 Bytes

Versions: 57

Compression:

Stored size: 436 Bytes

Contents

module Comee
  module Core
    class ClientSerializer < ActiveModel::Serializer
      attributes :id, :code, :name, :match_code, :locale, :user_id, :user_name, :parent_id, :consignees, :tax_code,
                 :vat_number, :currency, :print_details
      belongs_to :parent
      belongs_to :country
      has_many :agents
      has_many :contacts
      has_many :client_warehouses
      has_many :client_addresses
    end
  end
end

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
comee_core-0.3.62 app/serializers/comee/core/client_serializer.rb
comee_core-0.3.61 app/serializers/comee/core/client_serializer.rb
comee_core-0.3.60 app/serializers/comee/core/client_serializer.rb
comee_core-0.3.59 app/serializers/comee/core/client_serializer.rb
comee_core-0.3.58 app/serializers/comee/core/client_serializer.rb
comee_core-0.3.57 app/serializers/comee/core/client_serializer.rb
comee_core-0.3.56 app/serializers/comee/core/client_serializer.rb
comee_core-0.3.55 app/serializers/comee/core/client_serializer.rb
comee_core-0.3.54 app/serializers/comee/core/client_serializer.rb
comee_core-0.3.53 app/serializers/comee/core/client_serializer.rb
comee_core-0.3.51 app/serializers/comee/core/client_serializer.rb
comee_core-0.3.50 app/serializers/comee/core/client_serializer.rb
comee_core-0.3.49 app/serializers/comee/core/client_serializer.rb
comee_core-0.3.48 app/serializers/comee/core/client_serializer.rb
comee_core-0.3.47 app/serializers/comee/core/client_serializer.rb
comee_core-0.3.46 app/serializers/comee/core/client_serializer.rb
comee_core-0.3.45 app/serializers/comee/core/client_serializer.rb
comee_core-0.3.44 app/serializers/comee/core/client_serializer.rb
comee_core-0.3.43 app/serializers/comee/core/client_serializer.rb
comee_core-0.3.42 app/serializers/comee/core/client_serializer.rb