Class: Moysklad::Resources::EmbeddedEntityMetadataIndexed

Inherits:
Indexed
  • Object
show all
Defined in:
lib/moysklad/resources/embedded_entity_metadata_indexed.rb

Constant Summary

Constants inherited from Indexed

Indexed::NoIdInEntity, Indexed::WrongEntriesCountError

Instance Method Summary collapse

Methods inherited from Indexed

#all, #find, #initialize, #resource, #uuids

Methods included from IndexedCache

#cache!

Methods included from LoadAll

#load_all

Methods included from WhereFilter

#findWhere, #where

Constructor Details

This class inherits a constructor from Moysklad::Resources::Indexed

Instance Method Details

#subresource_by_name(name) ⇒ Object



3
4
5
# File 'lib/moysklad/resources/embedded_entity_metadata_indexed.rb', line 3

def subresource_by_name name
  Subresource.new findWhere(name: name.to_s).
end