lib/moysklad/entities/custom_entity.rb in moysklad-0.3.4 vs lib/moysklad/entities/custom_entity.rb in moysklad-0.4.0

- old
+ new

@@ -1,18 +1,13 @@ # Элемент в справочнике (DictionaryEntity) module Moysklad::Entities class CustomEntity < Base - attribute :meta, Meta - attribute :accountId, String - attribute :id, String - attribute :name, String - attribute :externalCode, String - attribute :description, String - - # TODO remove - def entityMetadataUuid - dictionaryId - end + attribute :meta, Meta + attribute :accountId, String + attribute :id, String + attribute :name, String + attribute :externalCode, String + attribute :description, String # ID Словаря def dictionaryId meta.metadataHref.split('/').last end