Sha256: 7d7cb832a3ad50d0efb6f28fae974a2f34df875ae1c4617f69eecdc48f5e3da4

Contents?: true

Size: 682 Bytes

Versions: 8

Compression:

Stored size: 682 Bytes

Contents

module Moysklad::Entities::CommonObject
  extend ActiveSupport::Concern

  # Используется в Good
  # https://online.moysklad.ru/exchange/rest/ms/xml/Good/list
  #
  # В Metadata
  # https://online.moysklad.ru/exchange/rest/ms/xml/Metadata/list
  #
  # Во Feature
  # https://online.moysklad.ru/exchange/rest/ms/xml/Feature/list
  #
  # CustomerOrder
  # https://online.moysklad.ru/exchange/rest/ms/xml/CustomerOrder/list
  #
  included do
    include Moysklad::Entities::Common

    attribute :updated,     Time
    attribute :updatedBy,   String

    attribute :name,        String

    element :externalcode,  String
    element :description,   String
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
moysklad-0.2.1 lib/moysklad/entities/common_object.rb
moysklad-0.2.0 lib/moysklad/entities/common_object.rb
moysklad-0.1.5 lib/moysklad/entities/common_object.rb
moysklad-0.1.4 lib/moysklad/entities/common_object.rb
moysklad-0.1.3 lib/moysklad/entities/common_object.rb
moysklad-0.1.2 lib/moysklad/entities/common_object.rb
moysklad-0.1.1 lib/moysklad/entities/common_object.rb
moysklad-0.0.2 lib/moysklad/entities/common_object.rb