Module: Trello::HasActions

Included in:
Board, Card, List, Member, Organization
Defined in:
lib/trello/has_actions.rb

Instance Method Summary collapse

Instance Method Details

#actions(options = {}) ⇒ Object

Returns a list of the actions associated with this object.



4
5
6
7
# File 'lib/trello/has_actions.rb', line 4

def actions(options = {})
  actions = Action.from_response client.get("#{request_prefix}/actions", { filter: :all }.merge(options))
  MultiAssociation.new(self, actions).proxy
end