lib/thread.rb in inbox-0.7.0 vs lib/thread.rb in inbox-0.8.0
- old
+ new
@@ -3,15 +3,15 @@
module Inbox
class Thread < RestfulModel
extend TimeAttrAccessor
- attr_accessor :subject
- attr_accessor :participants
- attr_accessor :snippet
- attr_accessor :tags
- attr_accessor :message_ids
- attr_accessor :draft_ids
+ parameter :subject
+ parameter :participants
+ parameter :snippet
+ parameter :tags
+ parameter :message_ids
+ parameter :draft_ids
time_attr_accessor :last_message_timestamp
time_attr_accessor :first_message_timestamp
def messages
@messages ||= RestfulModelCollection.new(Message, @_api, @namespace_id, {:thread_id=>@id})
\ No newline at end of file