Class: RailsConnector::BasicWidget

Inherits:
Object
  • Object
show all
Defined in:
lib/rails_connector/basic_widget.rb

Overview

The CMS widget class

Instance Attribute Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class RailsConnector::AttributeContent

Instance Attribute Details

#containerObject

returns the entity (RailsConnector::BasicObj or RailsConnector::BasicWidget) that references this widget



61
62
63
# File 'lib/rails_connector/basic_widget.rb', line 61

def container
  @container
end

#container_field_nameObject

returns the name of the widget field that references this widget



67
68
69
# File 'lib/rails_connector/basic_widget.rb', line 67

def container_field_name
  @container_field_name
end