Class: Pennylane::CategoryGroup

Inherits:
Resources::Base show all
Defined in:
lib/pennylane/resources/category_group.rb

Instance Attribute Summary

Attributes inherited from Object

#id

Class Method Summary collapse

Methods inherited from Resources::Base

#[], client, execute_resource_request, #id, #method_missing, normalize_filters, #object, object_name_plural, request_pennylane_object, #respond_to_missing?, #update

Methods inherited from Object

build_from, descendants, #initialize_from_response, objects, protected_fields

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Pennylane::Resources::Base

Class Method Details

.list(filters = {}, opts = {}) ⇒ Object



10
11
12
# File 'lib/pennylane/resources/category_group.rb', line 10

def list filters = {}, opts = {}
  request_pennylane_object(method: :get, path: "/category_groups", params: { query: filters }, opts: opts)
end

.object_nameObject



6
7
8
# File 'lib/pennylane/resources/category_group.rb', line 6

def object_name
  'category_group'
end