Sha256: 67eef9ed1da69c95ff2dee82643d996dbe1a516b9399a56d11f8830d4fcfa9ff

Contents?: true

Size: 680 Bytes

Versions: 1

Compression:

Stored size: 680 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

1 entries across 1 versions & 1 rubygems

Version Path
moysklad-0.3.0 lib/moysklad/entities/common_object.rb