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 = Client.get("#{request_prefix}/actions", { :filter => :all }.merge(options)).json_into(Action)
  MultiAssociation.new(self, actions).proxy
end