Class: InternetWisdom::Post

Inherits:
Object
  • Object
show all
Defined in:
lib/internet_wisdom/post.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(hash) ⇒ Post

Returns a new instance of Post.



5
6
7
# File 'lib/internet_wisdom/post.rb', line 5

def initialize(hash)
	@hash = hash
end

Instance Attribute Details

#hashObject

Returns the value of attribute hash.



3
4
5
# File 'lib/internet_wisdom/post.rb', line 3

def hash
  @hash
end