Class: ButterCMS::Parsers::Post
- Defined in:
- lib/butter_cms/parsers/post.rb
Instance Method Summary collapse
-
#post ⇒ Hash
Returns post attributes.
Methods inherited from Posts
#count, #initialize, #next_page, #posts, #previous_page
Constructor Details
This class inherits a constructor from ButterCMS::Parsers::Posts
Instance Method Details
#post ⇒ Hash
Returns post attributes
7 8 9 |
# File 'lib/butter_cms/parsers/post.rb', line 7 def post parsed_json['data'] end |