cupid 0.0.3 → 0.0.4
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/email.rb +5 -0
- data/lib/cupid/version.rb +1 -1
- metadata +3 -3
data/README.md
CHANGED
@@ -13,13 +13,13 @@ Sponsored by Evil Martians <http://evilmartians.com>
|
|
13
13
|
Puts this line into `Gemfile` then run `$ bundle`:
|
14
14
|
|
15
15
|
``` ruby
|
16
|
-
gem 'cupid', '0.0.
|
16
|
+
gem 'cupid', '0.0.4'
|
17
17
|
```
|
18
18
|
|
19
19
|
Or if you are old-school Rails 2 developer put this into `config/environment.rb` and run `$ rake gems:install`:
|
20
20
|
|
21
21
|
``` ruby
|
22
|
-
config.gem 'cupid', :version => '0.0.
|
22
|
+
config.gem 'cupid', :version => '0.0.4'
|
23
23
|
```
|
24
24
|
|
25
25
|
Or manually install cupid gem: `$ gem install cupid`
|
data/lib/cupid/methods/email.rb
CHANGED
@@ -84,6 +84,11 @@ module Cupid
|
|
84
84
|
folder_object += '<CustomerKey>' + options[:title].to_s + '</CustomerKey>' if options[:title]
|
85
85
|
folder_object += '<Name>' + options[:title].to_s + '</Name>'
|
86
86
|
folder_object += '<Description>' + options[:description].to_s + '</Description>' if options[:description]
|
87
|
+
folder_object += '<ContentType>' + options[:content_type].to_s + '</ContentType>' +
|
88
|
+
'<IsActive>' + options[:is_active].to_s + '</IsActive>' +
|
89
|
+
'<IsEditable>' + options[:is_editable].to_s + '</IsEditable>' +
|
90
|
+
'<AllowChildren>' + options[:allow_children].to_s + '</AllowChildren>'
|
91
|
+
|
87
92
|
if options[:parent]
|
88
93
|
folder_object += '<ParentFolder>
|
89
94
|
<PartnerKey xsi:nil="true"/>
|
data/lib/cupid/version.rb
CHANGED
metadata
CHANGED