gnumarcelo-campaigning 0.12.0 → 0.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 12
4
- :patch: 0
4
+ :patch: 1
@@ -82,7 +82,7 @@ module Campaigning
82
82
  #
83
83
  #*Error*: An Exception containing the cause of the error will be raised.
84
84
  def self.delete!(campaign_id)
85
- response = @@soap.deleteCampaign(:apiKey => CAMPAIGN_MONITOR_API_KEY, :campaignID => list_id)
85
+ response = @@soap.deleteCampaign(:apiKey => CAMPAIGN_MONITOR_API_KEY, :campaignID => campaign_id)
86
86
  handle_response response.campaign_DeleteResult
87
87
  end
88
88
 
@@ -11,27 +11,27 @@ class CampaignTest < Test::Unit::TestCase
11
11
  Campaigning.set_debug_mode(:on)
12
12
  end
13
13
 
14
- def test_campaign_create
15
- client = Campaigning::Client.find_by_name("Client One Company")
16
- response = Campaigning::Campaign.create!(
17
- :clientID => client.clientID,
18
- :campaignName => "Campaign by Campaigning TO DELETE - CODEE",
19
- :campaignSubject => "Campaign by myself - OK - CODEE",
20
- :fromName => "Mr. Gordon23",
21
- :fromEmail => "gordon23@test.com",
22
- :replyTo => "no-reply@test.com",
23
- :htmlUrl => "http://www.google.com.br",
24
- :textUrl => "http://www.google.com.br",
25
- :subscriberListIDs => ["ac52b645c048888a44c87b5f1ecf6b7d"],
26
- :listSegments => client.segments
27
- )
28
- puts response.inspect
29
- end
14
+ # def test_campaign_create
15
+ # client = Campaigning::Client.find_by_name("Client One Company")
16
+ # response = Campaigning::Campaign.create!(
17
+ # :clientID => client.clientID,
18
+ # :campaignName => "Campaign by Campaigning TO DELETE - CODEE",
19
+ # :campaignSubject => "Campaign by myself - OK - CODEE",
20
+ # :fromName => "Mr. Gordon23",
21
+ # :fromEmail => "gordon23@test.com",
22
+ # :replyTo => "no-reply@test.com",
23
+ # :htmlUrl => "http://gnumarcelo.github.com",
24
+ # :textUrl => "http://gnumarcelo.github.com",
25
+ # :subscriberListIDs => ["ac52b645c048888a44c87b5f1ecf6b7d"],
26
+ # :listSegments => client.segments
27
+ # )
28
+ # puts response.inspect
29
+ # end
30
30
 
31
31
 
32
32
  # def test_campaign_delete!
33
- # client = Campaigning::Client.find_by_name("Client One Company")
34
- # response = Campaigning::Campaign.delete!(response)
33
+ # #client = Campaigning::Client.find_by_name("Client One Company")
34
+ # response = Campaigning::Campaign.delete!("4e5952a0840869b77f05b29b9a7a292b")
35
35
  # puts response.inspect
36
36
  # end
37
37
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gnumarcelo-campaigning
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcelo Menezes
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-07-03 00:00:00 -07:00
12
+ date: 2009-07-04 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency