Method: LessNeglectApi::ActionEvent#add_link
- Defined in:
- lib/lessneglect/objects/action_event.rb
#add_link(name, href) ⇒ Object
6 7 8 9 |
# File 'lib/lessneglect/objects/action_event.rb', line 6 def add_link(name, href) self.links ||= [] self.links << ActionLink.new({ :name => name, :href => href }) end |