lib/caramelize/page.rb in caramelize-0.0.3 vs lib/caramelize/page.rb in caramelize-0.1.0
- old
+ new
@@ -1,14 +1,14 @@
module Caramelize
class Page
- attr_accessor :title, :body, :id, :syntax, :latest, :time, :message, :author, :author_name
+ attr_accessor :title, :body, :id, :markup, :latest, :time, :message, :author, :author_name
def initialize page={}
@id = page[:id]
@title = page[:title]
@body = page[:body]
- @syntax = page[:syntax]
+ @syntax = page[:markup]
@latest = page[:latest]
@time = page[:time]
@message = page[:message]
@author = page[:author]
@author_name = page[:author_name]
\ No newline at end of file