Sha256: bb8b38a00e144b7bfa2db4a6ef9fb2ce52511290ce6edf26b5ec47e65acc27e7

Contents?: true

Size: 179 Bytes

Versions: 5

Compression:

Stored size: 179 Bytes

Contents

module Moysklad::Resources
  class MetadataIndexed < Indexed
    def subresource_by_name name
      Subresource.new findWhere(name: name.to_s).attributeMetadata
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
moysklad-0.1.5 lib/moysklad/resources/metadata_indexed.rb
moysklad-0.1.4 lib/moysklad/resources/metadata_indexed.rb
moysklad-0.1.3 lib/moysklad/resources/metadata_indexed.rb
moysklad-0.1.2 lib/moysklad/resources/metadata_indexed.rb
moysklad-0.1.1 lib/moysklad/resources/metadata_indexed.rb