lib/event.rb in inbox-0.7.0 vs lib/event.rb in inbox-0.8.0
- old
+ new
@@ -1,14 +1,14 @@
require 'restful_model'
module Inbox
class Event < RestfulModel
- attr_accessor :title
- attr_accessor :description
- attr_accessor :location
- attr_accessor :read_only
- attr_accessor :participants
- attr_accessor :when
+ parameter :title
+ parameter :description
+ parameter :location
+ parameter :read_only
+ parameter :participants
+ parameter :when
end
end
\ No newline at end of file