Class: Moysklad::Resources::Assortments

Inherits:
Base
  • Object
show all
Includes:
LoadAll
Defined in:
lib/moysklad/resources/assortments.rb

Constant Summary

Constants inherited from Base

Base::PREFIX_PATH

Class Method Summary collapse

Instance Method Summary collapse

Methods included from LoadAll

#load_all

Methods inherited from Base

#create, #delete, #get, inherited, #initialize, #list, #metadata, pluralized_type, type, #update

Methods included from Positions

#create_position, #create_position_path

Constructor Details

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

Class Method Details

.indexed(args = {}) ⇒ Object



5
6
7
# File 'lib/moysklad/resources/assortments.rb', line 5

def self.indexed(args = {})
  new(**args)
end

Instance Method Details

#all(params = {}) ⇒ Object



9
10
11
# File 'lib/moysklad/resources/assortments.rb', line 9

def all(params = {})
  load_all(params)
end