Class: Brio::Resources::Post

Inherits:
Resource show all
Defined in:
lib/brio/resources/post.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Resource

create_from_json, #initialize

Constructor Details

This class inherits a constructor from Brio::Resources::Resource

Instance Attribute Details

#created_atObject

Returns the value of attribute created_at.



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

def created_at
  @created_at
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#num_repliesObject

Returns the value of attribute num_replies.



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

def num_replies
  @num_replies
end

#num_repostsObject

Returns the value of attribute num_reposts.



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

def num_reposts
  @num_reposts
end

#num_starsObject

Returns the value of attribute num_stars.



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

def num_stars
  @num_stars
end

#reply_toObject

Returns the value of attribute reply_to.



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

def reply_to
  @reply_to
end

#repost_ofObject

Returns the value of attribute repost_of.



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

def repost_of
  @repost_of
end

#textObject

Returns the value of attribute text.



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

def text
  @text
end

#userObject

Returns the value of attribute user.



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

def user
  @user
end