def posts( verb, args, to_append='')
      id = get_id_from_args args
      params_hash = get_params_from_args args
      r = @conn.method(verb).call do |req|
        req.url "#{posts_url id}/#{to_append}"
        if verb.to_s == 'get'
          req.params = params_hash
        else
          req.body = params_hash
        end
      end
      case to_append
      when 'reposters', 'stars'
        Resources::User.create_from_json r.body
      else
        Resources::Post.create_from_json r.body
      end
    end
def posts( verb, args, to_append='')
      id = get_id_from_args args
      params_hash = get_params_from_args args
      r = @conn.method(verb).call do |req|
        req.url "#{posts_url id}/#{to_append}"
        if verb.to_s == 'get'
          req.params = params_hash
        else
          req.body = params_hash
        end
      end
      case to_append
      when 'reposters', 'stars'
        Resources::User.create_from_json r.body
      else
        Resources::Post.create_from_json r.body
      end
    end
POSTS