Sha256: f34b27385836099a5b3d6e55f855bafb3ad73bd665e000152372318804b09371
Contents?: true
Size: 287 Bytes
Versions: 1
Compression:
Stored size: 287 Bytes
Contents
module BlogApi class Post class << self def all BlogApi::Request.get('posts') end def post(post_id) BlogApi::Request.get("posts/#{post_id}") end def featured BlogApi::Request.get('featured_posts') end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
blog_api-1.0.0 | lib/blog_api/post.rb |