def say(connection, text="", options={})
      @connection = connection
      #formatter = options[:formatter] || BasicFormatter
      #text      = format_text(formatter, text)
      #TODO: fix law of demeter violations
      request      = Net::HTTP::Post.new(service_url)
      request.body = encode_message(text, options)
      response     = connection.http_request(request)
      if response.code != "200"
        raise Slackr::ServiceError, "Slack.com - #{response.code} - #{response.body}"
      end
    end
def say(connection, text="", options={})
      @connection = connection
      #formatter = options[:formatter] || BasicFormatter
      #text      = format_text(formatter, text)
      #TODO: fix law of demeter violations
      request      = Net::HTTP::Post.new(service_url)
      request.body = encode_message(text, options)
      response     = connection.http_request(request)
      if response.code != "200"
        raise Slackr::ServiceError, "Slack.com - #{response.code} - #{response.body}"
      end
    end
{
   :formatter => [BasicFormatter, LinkFormatter, AttachmentFormatter]
 }