Module: Mingle4r::API::Wiki::InstanceMethods
- Defined in:
- lib/mingle4r/api/wiki.rb
Instance Method Summary collapse
Instance Method Details
#attachments ⇒ Object
7 8 9 10 |
# File 'lib/mingle4r/api/wiki.rb', line 7 def @attachments = Attachment.find(:all) end |
#ensure_attachment_resource_configured! ⇒ Object
12 13 14 15 16 17 18 19 |
# File 'lib/mingle4r/api/wiki.rb', line 12 def unless @attachment_resource_configured Attachment.site = URI.join(self.class.site.to_s, "wiki/#{self.identifier()}").to_s Attachment.user = self.class.user Attachment.password = self.class.password @attachment_resource_configured = true end end |