def subscribe subreddit, action = "sub"
      logged_in?
      post('/api/subscribe', body: {action: action, sr: subreddit, uh: @modhash, api_type: 'json'})
    end
def subscribe subreddit, action = "sub"
      logged_in?
      post('/api/subscribe', body: {action: action, sr: subreddit, uh: @modhash, api_type: 'json'})
    end
Subscribe to a subreddit

 @param (see #delete_header)
 @param action [sub, unsub] Subscribe or unsubscribe
 @return (see #clear_sessions)