We got nominated! Help us out and vote for GitHub as Best Bootstrapped Startup of 2008. (You can vote once a day.) [ hide ]

public
Rubygem
Description: The official Ruby Library for interacting with the Lighthouse API
Homepage: http://lighthouseapp.com/api
Clone URL: git://github.com/Caged/lighthouse-api.git
Making sure body and body_html are accessible.
djanowski (author)
Wed Oct 29 04:18:50 -0700 2008
commit  2902b32ee40e86649f06a186c86064e0ef81f3b9
tree    57fc0b5ba33183655f36753b1fc236bfef35e07d
parent  459d6e0906e4398dd867b0f52bf1e9ae1b20af0f
...
207
208
209
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
210
211
212
...
273
274
275
276
277
 
...
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
...
289
290
291
 
292
293
0
@@ -207,6 +207,22 @@ module Lighthouse
0
       @tags ||= tag.blank? ? [] : parse_with_spaces(tag)
0
     end
0
 
0
+ def body
0
+ attributes['body'] ||= ''
0
+ end
0
+
0
+ def body=(value)
0
+ attributes['body'] = value
0
+ end
0
+
0
+ def body_html
0
+ attributes['body_html'] ||= ''
0
+ end
0
+
0
+ def body_html=(value)
0
+ attributes['body_html'] = value
0
+ end
0
+
0
     def save_with_tags
0
       self.tag = @tags.collect do |tag|
0
         tag.include?(' ') ? tag.inspect : tag
0
@@ -273,4 +289,4 @@ module ActiveResource
0
         (Lighthouse.email || Lighthouse.password ? { 'Authorization' => 'Basic ' + ["#{Lighthouse.email}:#{Lighthouse.password}"].pack('m').delete("\r\n") } : {})
0
       end
0
   end
0
-end
0
\ No newline at end of file
0
+end

Comments

    No one has commented yet.