Class: Confluence::BlogEntry

Inherits:
Record
  • Object
show all
Extended by:
Findable
Defined in:
lib/confluence/blog_entry.rb

Instance Method Summary collapse

Methods included from Findable

find

Methods inherited from Record

#[], #[]=, client, #client, client=, #initialize, #labels, #labels=, record_attr_accessor, #record_id, #to_hash

Constructor Details

This class inherits a constructor from Confluence::Record

Instance Method Details

#removeObject



16
17
18
# File 'lib/confluence/blog_entry.rb', line 16

def remove
  client.removePage(self.entry_id)
end

#storeObject



11
12
13
14
# File 'lib/confluence/blog_entry.rb', line 11

def store
  # reinitialize blog entry after storing it
  initialize(client.storeBlogEntry(self.to_hash))
end