Class: PlateApi::PlateObject::Section

Inherits:
Base
  • Object
show all
Defined in:
lib/plate_api/plate_object/section.rb

Constant Summary

Constants inherited from Base

Base::HasManyRelations, Base::HasOneRelations

Instance Attribute Summary

Attributes inherited from Base

#attributes, #id, #object_handler, #relations

Class Method Summary collapse

Methods inherited from Base

#==, #api_name, #delete, #initialize, #inspect, #method_missing, #reload, #respond_to_missing?, #to_s, #update

Constructor Details

This class inherits a constructor from PlateApi::PlateObject::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class PlateApi::PlateObject::Base

Class Method Details

.api_nameObject



10
11
12
# File 'lib/plate_api/plate_object/section.rb', line 10

def self.api_name
  "sections"
end

.parent_classObject



14
15
16
# File 'lib/plate_api/plate_object/section.rb', line 14

def self.parent_class
  Post
end