Class: WikiService
Constant Summary
collapse
- @@storage_path =
'./storage/'
Instance Attribute Summary
#system, #webs
Class Method Summary
collapse
Instance Method Summary
collapse
#authenticate, #create_web, #delete_web, #edit_web, #file_yard, #init_wiki_service, #read_page, #remove_orphaned_pages, #revise_page, #rollback_page, #setup, #setup?, #storage_path, #write_page
Constructor Details
Returns a new instance of WikiService.
158
159
160
|
# File 'app/models/wiki_service.rb', line 158
def initialize
init_wiki_service
end
|
Class Method Details
.instance ⇒ Object
146
147
148
149
150
|
# File 'app/models/wiki_service.rb', line 146
def instance
@madeleine ||= MadeleineServer.new(self)
@system = @madeleine.system
return @system
end
|
.snapshot ⇒ Object
152
153
154
|
# File 'app/models/wiki_service.rb', line 152
def snapshot
@madeleine.snapshot
end
|
.storage_path ⇒ Object
138
139
140
|
# File 'app/models/wiki_service.rb', line 138
def storage_path
@@storage_path
end
|
.storage_path=(storage_path) ⇒ Object
134
135
136
|
# File 'app/models/wiki_service.rb', line 134
def storage_path=(storage_path)
@@storage_path = storage_path
end
|