Module: Trello::HasActions
- Included in:
- Board, Card, List, Member, Organization
- Defined in:
- lib/trello/has_actions.rb
Instance Method Summary collapse
-
#actions(options = {}) ⇒ Object
Returns a list of the actions associated with this object.
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( = {}) actions = client.get("#{request_prefix}/actions", { filter: :all }.merge()).json_into(Action) MultiAssociation.new(self, actions).proxy end |