Class: OpenComponents::RenderedComponent

Inherits:
Component
  • Object
show all
Defined in:
lib/opencomponents/rendered_component.rb

Instance Attribute Summary collapse

Attributes inherited from Component

#href, #name, #params, #registry_version, #render_mode, #type, #version

Instance Method Summary collapse

Methods inherited from Component

#flush!, #initialize, #reload!, #request_version

Constructor Details

This class inherits a constructor from OpenComponents::Component

Instance Attribute Details

#htmlObject (readonly)

Returns the value of attribute html.



3
4
5
# File 'lib/opencomponents/rendered_component.rb', line 3

def html
  @html
end

Instance Method Details

#loadObject



5
6
7
8
9
# File 'lib/opencomponents/rendered_component.rb', line 5

def load
  @html = response_data['html']

  super
end