module Blogger::GetPosts

Public Instance Methods

get_blogposts() click to toggle source
# File lib/blogger/post.rb, line 7
def get_blogposts
  response = HTTP.get("https://www.googleapis.com/blogger/v3/blogs/#{blog_id}/posts?maxResults=#{@max_result}&key=#{key}")
    @json_response = JSON.parse(response.to_s)
end