Class: Bumeran::Publication

Inherits:
Object
  • Object
show all
Defined in:
lib/bumeran/publication.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePublication

Returns a new instance of Publication.



5
6
7
# File 'lib/bumeran/publication.rb', line 5

def initialize
  self.body = default_publication_json()
end

Instance Attribute Details

#bodyObject

Returns the value of attribute body.



3
4
5
# File 'lib/bumeran/publication.rb', line 3

def body
  @body
end