Class: Ryext::Models::Category
- Inherits:
-
Object
- Object
- Ryext::Models::Category
- Extended by:
- Finder
- Includes:
- Model
- Defined in:
- lib/ryext/models/category.rb
Constant Summary collapse
- COLLECTION_KEY =
'categories'
- YEXT_ATTRIBUTES =
{ id: 'id', name: 'name', full_name: 'fullName', selectable: 'selectable', parent_id: 'parentId' }
Class Method Summary collapse
Methods included from Finder
all, base_uri, base_url, collection_from, get, instance_klass
Methods included from Model
#build, included, #initialize, #instance_klass
Class Method Details
.default_path(params) ⇒ Object
8 9 10 |
# File 'lib/ryext/models/category.rb', line 8 def self.default_path(params) '/categories' end |