Class: GrubY::Folder
- Inherits:
-
BaseObject
- Object
- BaseObject
- GrubY::Folder
- Defined in:
- lib/gruubY/types/bound_entities.rb
Instance Attribute Summary
Attributes inherited from BaseObject
Instance Method Summary collapse
Methods inherited from BaseObject
#[], #dig, field_names, fields, #initialize, #method_missing, #respond_to_missing?, #to_h
Constructor Details
This class inherits a constructor from GrubY::BaseObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class GrubY::BaseObject
Instance Method Details
#delete ⇒ Object
172 173 174 |
# File 'lib/gruubY/types/bound_entities.rb', line 172 def delete call_raw_api("deleteFolder", { folder_id: id }) end |
#edit(**opts) ⇒ Object
176 177 178 |
# File 'lib/gruubY/types/bound_entities.rb', line 176 def edit(**opts) call_raw_api("editFolder", { folder_id: id }.merge(opts)) end |