Class: GlobalRegistry::EntityType
- Defined in:
- lib/global_registry/entity_type.rb
Class Method Summary collapse
-
.for_names(names) ⇒ Object
This doesn’t do any paging yet since, but we can add it later if needed.
Methods inherited from Base
#default_path, #delete, delete, #delete_or_ignore, delete_or_ignore, find, #find, get, #get, #get_all_pages, #initialize, #path_with_id, post, #post, #put, put, request, #request
Constructor Details
This class inherits a constructor from GlobalRegistry::Base
Class Method Details
.for_names(names) ⇒ Object
This doesn’t do any paging yet since, but we can add it later if needed.
4 5 6 |
# File 'lib/global_registry/entity_type.rb', line 4 def self.for_names(names) get_all_pages('filters[name][]' => names)['entity_types'] end |