Class: UI::BaseUiElement
- Inherits:
-
Object
- Object
- UI::BaseUiElement
- Defined in:
- lib/ui/base_ui_element.rb
Direct Known Subclasses
FBButtonTemplate, FBCarousel, FBOpenGraphTemplate, ImageAttachment
Instance Method Summary collapse
-
#build(user) ⇒ Object
Use this method to return a valid hash and save it for later.
Instance Method Details
#build(user) ⇒ Object
Use this method to return a valid hash and save it for later
8 9 10 11 |
# File 'lib/ui/base_ui_element.rb', line 8 def build(user) @template[:recipient][:id] = user.id @template end |