Sha256: badb60390e09e36a371cdcdfce9fcf0631bb18a4042f954514188a3e92b1fef6

Contents?: true

Size: 712 Bytes

Versions: 5

Compression:

Stored size: 712 Bytes

Contents

Feature: Chatterbox API

  As a Chatterbox user
  I want to send messages using a simple API
  So that I can deliver many different types of notifications using different services

  Scenario: API ideas
  Given a file named "api_testing.rb" with:
    """
    Chatterbox.notify(:summary => "subject", :body => "body", 
      :via => { :service => :email, :to => "jdoe@example.com", :from => "foo.com" },
      :via => { :service => :twitter, :to => "rsanheim" },
      :via => { :destinations => ["my-inbox", "joes-house" }

    Chatterbox.notify(:summary => "subject", :body => "body") do |via|
      via.email :to => "jdoe@example.com", :from => "foo.com"
      via.twitter :to => "twitter"
    end
    """
    

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
chatterbox-0.8.5 features/api.feature
chatterbox-0.8.4 features/api.feature
chatterbox-0.8.3 features/api.feature
chatterbox-0.8.2 features/api.feature
chatterbox-0.8.1 features/api.feature