class EntityCard
Attributes
action_controller[RW]
description[RW]
entity[RW]
list_container[RW]
long_name[RW]
meta[RW]
name[RW]
sections[RW]
Public Class Methods
new(entity)
click to toggle source
# File lib/rbbt/rest/entity/entity_card.rb, line 8 def initialize(entity) @entity = entity end
Public Instance Methods
add_section(name, &block)
click to toggle source
# File lib/rbbt/rest/entity/entity_card.rb, line 17 def add_section(name, &block) sections[name] = block end