No commit activity in last 3 years
No release in over 3 years
Allows to send notifications to Asana
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.9
~> 5.7
~> 1
~> 10.0

Runtime

~> 0.13
~> 1.8
 Project Readme

AsanaGodContact

A God::Contacts class for sending notifications to Asana. God is an easy to configure, easy to extend monitoring framework written in Ruby. http://godrb.com/

Installation

Add this line to your application's Gemfile:

gem 'asana-god-contact'

And then execute:

$ bundle

Or install it yourself as:

$ gem install asana-god-contact

Usage

Configure our god file to use asana connector adding next code

require 'asana-god-contact'

God.contact(:asana) do |c|
  c.name = 'asana'
  c.api_key       = "2D2R..........OG0iZru"
  c.workspace_id  = "49.....860"
  c.assignee      = "92.....302"
  c.projects      = "28.....959"
  c.folowers      = "92.....302"
end

where "api_key" is the key you get from your asana

Other params are apropriate ids of workspace, user, project and followers. Followers can be an array.

Add the name of your contact (c.name = 'asana') to be used as notification:

  w.start_if do |start|
    start.condition(:process_running) do |c|
      c.running = false
      c.notify = ['asana']
    end
  end