cupid 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -2
- data/lib/cupid/methods/subscriber.rb +1 -2
- data/lib/cupid/version.rb +1 -1
- metadata +3 -3
data/README.md
CHANGED
@@ -77,13 +77,13 @@ send_tracking_ids = et_translator.send_emails_to_lists({'email_id' => 'list_id',
|
|
77
77
|
Puts this line into `Gemfile` then run `$ bundle`:
|
78
78
|
|
79
79
|
``` ruby
|
80
|
-
gem 'cupid', '0.2.
|
80
|
+
gem 'cupid', '0.2.1'
|
81
81
|
```
|
82
82
|
|
83
83
|
Or if you are old-school Rails 2 developer put this into `config/environment.rb` and run `$ rake gems:install`:
|
84
84
|
|
85
85
|
``` ruby
|
86
|
-
config.gem 'cupid', :version => '0.2.
|
86
|
+
config.gem 'cupid', :version => '0.2.1'
|
87
87
|
```
|
88
88
|
|
89
89
|
Or manually install cupid gem: `$ gem install cupid`
|
@@ -40,6 +40,7 @@ module Cupid
|
|
40
40
|
subscriber_object += '<FirstName>' + user[:first_name].to_s + '</FirstName>' if user[:first_name]
|
41
41
|
subscriber_object += '<LastName>' + user[:last_name].to_s + '</LastName>' if user[:last_name]
|
42
42
|
subscriber_object += '<EmailAddress>' + user[:email] + '</EmailAddress>'
|
43
|
+
subscriber_object += '</Objects>'
|
43
44
|
end
|
44
45
|
|
45
46
|
def list_object(list_id)
|
@@ -51,7 +52,5 @@ module Cupid
|
|
51
52
|
</ObjectID>
|
52
53
|
</Lists>'
|
53
54
|
end
|
54
|
-
|
55
|
-
subscriber_object += '</Objects>'
|
56
55
|
end
|
57
56
|
end
|
data/lib/cupid/version.rb
CHANGED
metadata
CHANGED