Sha256: 31221509d306a0ebcd1e5148816d88b0f37c319c6e46d5956a9568f759c7ca92

Contents?: true

Size: 405 Bytes

Versions: 12

Compression:

Stored size: 405 Bytes

Contents

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
comee_core-0.2.88 app/serializers/comee/core/client_serializer.rb
comee_core-0.2.87 app/serializers/comee/core/client_serializer.rb
comee_core-0.2.86 app/serializers/comee/core/client_serializer.rb
comee_core-0.2.85 app/serializers/comee/core/client_serializer.rb
comee_core-0.2.84 app/serializers/comee/core/client_serializer.rb
comee_core-0.2.83 app/serializers/comee/core/client_serializer.rb
comee_core-0.2.82 app/serializers/comee/core/client_serializer.rb
comee_core-0.2.81 app/serializers/comee/core/client_serializer.rb
comee_core-0.2.80 app/serializers/comee/core/client_serializer.rb
comee_core-0.2.78 app/serializers/comee/core/client_serializer.rb
comee_core-0.2.77 app/serializers/comee/core/client_serializer.rb
comee_core-0.2.76 app/serializers/comee/core/client_serializer.rb